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

Style props don't support percentage on Android #15

Open
VincentQuillienShine opened this issue Mar 19, 2024 · 1 comment
Open

Style props don't support percentage on Android #15

VincentQuillienShine opened this issue Mar 19, 2024 · 1 comment

Comments

@VincentQuillienShine
Copy link

Hi !

When passing a percentage to a style prop (e.g. width: '100%') the app crashes with the following error: java.lang.String cannot be cast to java.lang.Double.

Since percentages are passed as string, the native side should accept both String and Double.

Thanks !

@obie3
Copy link

obie3 commented Apr 15, 2024

I am having the same experience

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

2 participants