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
One problem I have come across is that the tree 'flickers' when dragging nodes, which can be visually confusing, especially with large data sets, or when dragging multiple nested nodes.
The flicker happens because, when the placeholder is rendered, the old placeholder and the new placeholder co-exist for a split second, pushing all of the nodes in the tree down the height of the double placeholders.
In my own code that uses this component, I have fixed this problem with the following workaround...
One problem I have come across is that the tree 'flickers' when dragging nodes, which can be visually confusing, especially with large data sets, or when dragging multiple nested nodes.
The flicker happens because, when the placeholder is rendered, the old placeholder and the new placeholder co-exist for a split second, pushing all of the nodes in the tree down the height of the double placeholders.
In my own code that uses this component, I have fixed this problem with the following workaround...
This quickly hides any pre-existing placeholders before a new placeholder is rendered.
It's a bit of bandage patch, but it seems to work, so maybe this will be useful...
The text was updated successfully, but these errors were encountered: