-
-
Notifications
You must be signed in to change notification settings - Fork 424
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 maskType
prop on a DOM element
#643
React does not recognize the maskType
prop on a DOM element
#643
Comments
Hey @zprjk 👋, |
Hmm, maybe React is wrong on this one, as mentioned in #336 (comment), it appears to be a valid property. |
I think this example should be enough to demonstrate for the time being https://codesandbox.io/s/react-does-not-recognize-the-masktype-6r344 |
@gregberge There were some development in the issue above where I reported to Facebook/React. They say it's an Trying to figure out the spec: To ensure what they say is true, I checked other prop Now what's interesting I searched in w3c spec for In my example if I switch to |
🐛 Bug Report
Warning: React does not recognize the
maskType
prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercasemasktype
instead. If you accidentally passed it from a parent component, remove it from the DOM element.I believe this change made this bug appear: #621
To Reproduce
I'm sorry but don't know how to demonstrate this bug as we speak. I have a React UI lib where I bundle with Rollup and use it in
Create React App(CRA)
.// EDIT: codesandbox.io/s/react-does-not-recognize-the-masktype-6r344
Using:
The text was updated successfully, but these errors were encountered: