sortable-tree icon indicating copy to clipboard operation
sortable-tree copied to clipboard

Jumping while re-render

Open robbanl opened this issue 3 months ago • 1 comments

Hello,

I'm using this in a long list (scrolling on the page). If I'm at the end and move an element, I will post the changes to backend and re-render the form. This will cause the browser to scroll to top, not keeping the old position.

Also, when adding a row, I will do that by creating it in backend, and re-render the tree. Same issue here, jumping to top.

I know that I can perform the update in backend and ignore the re-render, but then the user won't be 100% sure that the changes has been saved. But still doesn't help when adding a node.

Is there any good ways to solve this?

robbanl avatar Apr 17 '24 08:04 robbanl