Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

flexShrink: 1 inView is causing children not to expand viaflex: 1 #443

Open
@fivecar

Description

@fivecar

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp