Closed danchistyakov closed 3 years ago
Please provide example and reopen.
Hello, here is a pen (it's a small example): Demo: https://logqz.csb.app/ CodeSandbox: https://codesandbox.io/s/gallant-hoover-logqz?file=/src/App.js
Hello!
This is not an issue with this library. But you can access the DOM Node ref via the node
prop on the handle as described here: https://github.com/snakesilk/react-fullscreen#types
I'm getting an error in my console. Error: Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?