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); |
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
react-native-paper/src/components/Menu/Menu.tsx
Line 119 in 00b00d2