Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork148
Open
Description
Great library - thanks for maintaining this!
Here's code that doesn't work (for me) as expected:
<ActionSheetcontentContainerStyle={{flex:1}}><Viewstyle={{flex:1}}>/* A bunch of vertically-expanding stuff */</View></ActionSheet>
This seems to come down to howprops.children is wrapped withflexShrink: 1 in the libraryhere. When I change that line instead toflex: 1, I get the desired behavior... though I'm sure theflexShrink: 1 was put there for a reason.
What is the right way to create an ActionSheet that contains, say, a big FlatList, where you want the ActionSheet to cap out atsnap === 100, but always grow to as much vertical space as is allowed?
Metadata
Metadata
Assignees
Labels
No labels