Skip to content

Support for "findNodeHandle" removed in react-native-web #4672

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

Open
alariej opened this issue Apr 11, 2025 · 0 comments
Open

Support for "findNodeHandle" removed in react-native-web #4672

alariej opened this issue Apr 11, 2025 · 0 comments

Comments

@alariej
Copy link

alariej commented Apr 11, 2025

When using a RNP Menu component in a react-native-web + react-native-paper project, an error is thrown by react-native-web as the Menu gets rendered: "Uncaught Error: findNodeHandle is not supported on web. Use the ref property on the component instead."

See this recent commit in react-native-web: necolas/react-native-web@9c8f89b

Environment

software version
react-native 0.79.0
react-native-web 0.20.0
react-native-paper 5.13.1
node 20

const node: any = findNodeHandle(el);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants