Closed cxw42 closed 6 years ago
Edit It was in my jstree callbacks, and in jstree' s focus-tracking.
This is in jstree - move_node
sometimes calls _redraw
with full_redraw==true
. A full redraw moves every node out of the tree's DOM (at which point scrollY
goes to 0 automatically), then re-adds everything.
Steps:
Expected: scroll position doesn't change
Observed: the scroll position snaps back to the very top.
Edit Is this an upstream issue? From a quick look, the completion of the dnd for two closed windows is handled entirely by jstree.
Edit 2 This also happens when dragging an open tab to a closed window.