-
Notifications
You must be signed in to change notification settings - Fork 1k
error in react 19 #771
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I have the same problem |
A simple workaround is to provide a ref to a child element:
|
But not React 18 to 19 because it breaks react-draggable: react-grid-layout/react-draggable#771
Thanks andreatiled in child component:
in parent component:
|
very important package it is. React 19 support is required now. If anyone using alternative package please inform me? |
Thanks @andreatiled ! That worked for me. |
@andreatiled |
The |
It works, you need to type it like @SValentyn comment mentioned |
It's not about types. Did you read the issue I linked? |
Draggable.js:210 Uncaught TypeError: _reactDom.default.findDOMNode is not a function
at Draggable.findDOMNode (Draggable.js:210:1)
at Draggable.componentDidMount (Draggable.js:194:1)
at react-stack-bottom-frame (react-dom-client.development.js:22451:1)
at runWithFiberInDEV (react-dom-client.development.js:543:1)
at commitLayoutEffectOnFiber (react-dom-client.development.js:11419:1)
at recursivelyTraverseLayoutEffects (react-dom-client.development.js:12410:1)
at commitLayoutEffectOnFiber (react-dom-client.development.js:11413:1)
at recursivelyTraverseLayoutEffects (react-dom-client.development.js:12410:1)
at commitLayoutEffectOnFiber (react-dom-client.development.js:11529:1)
at recursivelyTraverseLayoutEffects (react-dom-client.development.js:12410:1)
The text was updated successfully, but these errors were encountered: