-
-
Notifications
You must be signed in to change notification settings - Fork 980
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
Fix Pressable
not inferring dimensions from it's children
#3020
Conversation
Other available solutions include:
I think update:
and most other possible combinations of these styles. |
As of f3f590a I updated the description to include nested flexbox example. Technically Please let me know WDYT @j-piasecki |
Whether Using both is probably best. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
When
Pressable
does not have it's dimensions robustly set, it should infer them from it's children, tofit-content
.Unfortunately that's not what happens.
This PR fixes this issue.
Test plan
EmptyExample
Pressables
are identicalResults
Code