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
I'm encountering an issue with the layout behavior in the Yoga library (version 3.2.0). Here's the scenario:
The parent layout has a height set to auto.
The child layout has a height of 700px and a max - height set to 500px.
When running, the observed result is that the parent layout has a height of 700px, while the child layout has a height of 500px as expected. I noticed that setting setUseWebDefaults seems to solve this issue. However, I'm not sure if setting it only on the parent node will cause any problems.
I also wanted to inquire if setting setUseWebDefaults to true in version 3.2.0 has any performance implications.
Thank you for your time and assistance.
The text was updated successfully, but these errors were encountered:
Android Platform
I'm encountering an issue with the layout behavior in the Yoga library (version 3.2.0). Here's the scenario:
The parent layout has a height set to auto.
The child layout has a height of 700px and a max - height set to 500px.
When running, the observed result is that the parent layout has a height of 700px, while the child layout has a height of 500px as expected. I noticed that setting setUseWebDefaults seems to solve this issue. However, I'm not sure if setting it only on the parent node will cause any problems.
I also wanted to inquire if setting setUseWebDefaults to true in version 3.2.0 has any performance implications.
Thank you for your time and assistance.
The text was updated successfully, but these errors were encountered: