Closed alex-e-leon closed 1 year ago
Hi @theKashey
When using react-focus-lock with react 18 I get the following error: Warning: AutoFocusInside: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
Warning: AutoFocusInside: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
I've opened a pull request here for the issue. https://github.com/theKashey/react-focus-lock/pull/238
Fix released as a part of 2.9.3
Hi @theKashey
When using react-focus-lock with react 18 I get the following error:
Warning: AutoFocusInside: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
I've opened a pull request here for the issue. https://github.com/theKashey/react-focus-lock/pull/238