-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
iOS surface with flex
style render weird.
#4632
Comments
flex
style render weird.flex
style render weird.
I am also facing a similar issue where on android the surface works well but on iOS it does not seem to work and I keep getting this warning in the console
Attached images |
Hey! Thanks for opening the issue. Can you provide a minimal repro which demonstrates the issue? Posting a snippet of your code in the issue is useful, but it's not usually straightforward to run. A repro will help us debug the issue faster. Please try to keep the repro as small as possible. The easiest way to provide a repro is on snack.expo.dev. If it's not possible to repro it on snack.expo.dev, then you can also provide the repro in a GitHub repository. |
Thanks for the repro, appreciate that. I'll investigate the issue |
Current behaviour
In the source code, I noticed that iOS surface has outerLayer and inner view. However, outerLayerStyleProperties filter
flex
, than the inner will never hasflex
style. Therefore, it will never fill the remaining height. In android and web, it renders nomal.Expected behaviour
How to reproduce?
Preview
What have you tried so far?
Your Environment
The text was updated successfully, but these errors were encountered: