We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Trasaction calculate delta error, when i swap array order.
To Reproduce a YArray: [1, 3, 2], swap the order to: [1, 2, 3], use:
yarray.delete(2, 1) // delete yarray.insert(1, [2]) // insert
Put two operate in a transaction like this:
ydoc.transact(() => { yarray.delete(2, 1) // delete yarray.insert(1, [2]) // insert })
the delta is error:
If just use two operate, there have 2 correct delta in each event:
The text was updated successfully, but these errors were encountered:
dmonad
No branches or pull requests
Describe the bug
Trasaction calculate delta error, when i swap array order.
To Reproduce
a YArray: [1, 3, 2],
swap the order to: [1, 2, 3], use:
Put two operate in a transaction like this:
the delta is error:
If just use two operate, there have 2 correct delta in each event:
The text was updated successfully, but these errors were encountered: