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
fix: support SSR environments where Element is not defined (#251) (#252)
The `draggableOpts.offsetParent` prop type used `PropTypes.instanceOf(Element)`
which throws a ReferenceError in SSR/Node.js environments where the DOM global
`Element` doesn't exist.
This was introduced in a prior release that added the draggableOpts prop type
definitions. The fix checks if Element is defined before using instanceOf.
0 commit comments