You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my use case, the results obtained by Delta.transform were not as expected.
It caused undo doesn't work as expected in the table.
I suspect that in this case, the delete operation was moved to the end causing this issue. Does any have a solution?
Thanks a lot:)
I would like to know why the Original delta in undo stack is not:
{
"ops": [
{
"retain": 4
},
{
"delete": 1
}
]
}
I also tested for lines(have no attributes), will got the undoDelta like the above. It looks like my custom attributes are causing the diff calculations to be different.
Delta package version: 4.2.2
In my use case, the results obtained by
Delta.transform
were not as expected.It caused
undo
doesn't work as expected in the table.I suspect that in this case, the
delete
operation was moved to the end causing this issue. Does any have a solution?Thanks a lot:)
Before undo:
After undo:
Expected results:
Original delta in undo stack
delta for remote changes
transformed delta in undo stack
The text was updated successfully, but these errors were encountered: