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
Warning: Failed prop type: Invalid props.style key fontSize
supplied to View
#50
Comments
Thank you @monchopena. It's a known issue. |
Thank you! |
I've been waiting for this fix quite while. Do you have any workarounds for this in the meantime? |
@zoozalp, this warning is showin only in debug mode. So it shouldn’t be a blocker for you. |
Only workaround I could think of was to make the yellow box ignore this particular warning. I've just created a pull request for that in the sample app. If you could direct me a little more, I would gladly contribute to fix it for good in the code. |
@zoozalp That would be great! Ideally, before setting styles, we should check what styles component can apply. And then pass only acceptable styles. That means we need somehow autodetect (idk how at the moment) or just declare in each component what style properties are acceptable. |
Thank you guys for the great work. |
Any progress on this? |
Hello @gatesyp. As temporary "fix" you can disable this warning:
|
2 years and still no progress??? |
i feel you bro
|
Getting this bug deep into 2020... maybe we oughta reopen this one? |
I may have found a workaround. This is working for me:
|
Warning: Failed prop type: Invalid props.style key
fontSize
supplied toView
Issue description
After:
If I'm going to Auth section and select any item I obtain this warning:
Other information:
**OS, device, application version **
The text was updated successfully, but these errors were encountered: