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
Looks like nodeRef causes jittery movement when the handle is not a direct ancestor. For example, using the nodeRef example from the README and adding a div wrapping the target causes this issue.
We're updating draggable modal windows to use nodeRef props to avoid the console warning about findDOMNode being deprecated. Previously, we had handle set to a DOM class name and that exact class name assigned to an element inside the element.
With the handle approach, the movement when dragging and item was smooth and we had no issues. With the nodeRef, it's incredibly jittery. We normally have bounds and onDragStart methods but I removed those for testing and the jitter persists.
The text was updated successfully, but these errors were encountered:
Looks like
nodeRef
causes jittery movement when the handle is not a direct ancestor. For example, using the nodeRef example from the README and adding adiv
wrapping the target causes this issue.We're updating draggable modal windows to use
nodeRef
props to avoid the console warning aboutfindDOMNode
being deprecated. Previously, we hadhandle
set to a DOM class name and that exact class name assigned to an element inside the element.With the
handle
approach, the movement when dragging and item was smooth and we had no issues. With the nodeRef, it's incredibly jittery. We normally havebounds
andonDragStart
methods but I removed those for testing and the jitter persists.The text was updated successfully, but these errors were encountered: