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

Need to decide on the box-sizing policy #58

Open
gliechtenstein opened this issue Jun 19, 2017 · 0 comments
Open

Need to decide on the box-sizing policy #58

gliechtenstein opened this issue Jun 19, 2017 · 0 comments

Comments

@gliechtenstein
Copy link
Contributor

Some of the dimensions are not consistent on iOS and Android.

Basically the same problem as CSS box-sizing property.

For example when you set width: 100%, on Android it actually sets the width to full 100%, which means it will go out of bounds if there's a padding involved, but on iOS the OS makes sure the elements don't go out of bound, so setting width: 100% is almost like saying max-width: 100%.

Currently a way around this problem is to not use width: 100% and rely on autosizing.

But this does need to be addressed and we need to come up with a consistent policy.

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

1 participant