Skip to content
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

"React does not recognize the gapMode prop on a DOM element" warning #67

Closed
tpaan opened this issue Mar 30, 2023 · 3 comments
Closed

"React does not recognize the gapMode prop on a DOM element" warning #67

tpaan opened this issue Mar 30, 2023 · 3 comments
Assignees

Comments

@tpaan
Copy link

tpaan commented Mar 30, 2023

After updating to 3.8.0 I am getting the following warning:

    Warning: React does not recognize the `gapMode` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `gapmode` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
        at div
        at /home/timo/Code/asti/my-app/node_modules/react-remove-scroll/dist/es5/UI.js:16:21
        at FocusLockUI (/home/timo/Code/asti/my-app/node_modules/react-focus-lock/dist/cjs/Lock.js:40:31)
        at /home/timo/Code/asti/my-app/node_modules/react-focus-on/dist/es5/UI.js:10:20
        at div
        at Modal (/home/timo/Code/asti/my-app/src/components/Modal/Modal.tsx:12:34)
@theKashey
Copy link
Owner

Related to #65

@theKashey theKashey self-assigned this Mar 31, 2023
@kyeckeq
Copy link

kyeckeq commented May 1, 2023

I was seeing same, but after upgrading to v3.8.1 I'm no longer getting the warning.

@theKashey
Copy link
Owner

Yep, sorry forgot to post an update - version 3.8.1 resolves the problem.

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

No branches or pull requests

3 participants