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

Best practice for bottom sheet with fixed header/footer, scrollable content, and dynamic height up to 70%? #2362

Unanswered
katzbe asked this question in Q&A
Discussion options

Hi 👋 and thanks for the amazing library!

I'm trying to implement a bottom sheet with fixed header (always visible) scrollable content area in the middle (FlatList or ScrollView) and fixed footer (e.g. a Button)
I want to use enableDynamicSizing={true} so the sheet resizes based on content.
But I also want to limit the dynamic height to something like SCREEN_HEIGHT * 0.7 (i.e. max 70% of screen).

Can you please share what the best practice to build this layout?

You must be logged in to vote

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /