-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
too much measure #261
Comments
This is duplicate of #46. Some measurements could be skipped, but basically if the attributes that are going to be relevant of deciding the size of the view, some views have to measured multiple times. |
@thagikura I transformed align-items stretch to Android view match_parent, it is faster. |
If setting as match_parent meets your needs, shouldn't be a problem. The behavior of those twos are different. |
@thagikura I know the different between alignitems-stretch and match_parent, there is a bug of flexbox-layout,when parent is align-items stretch and child set width or height,CSS Flex will use child own width or height, but flexbox-layout will use align-items stretch。 |
Ok, confirmed that there is a difference with the CSS spec with that behavior. |
done |
Thanks! |
when flexbox parent view align-items is stretch, view visible changed will call too much measure.
The text was updated successfully, but these errors were encountered: