You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 settingwidth: 100%
is almost like sayingmax-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.
The text was updated successfully, but these errors were encountered: