Is it possible to make the `Scaffold` wrap content...
# compose
g
Is it possible to make the
Scaffold
wrap content? I’m trying to put my
Scaffold
into the bottom sheet, but it always makes it fill the whole screen even if the content is smaller.
c
I think a Scaffold is meant to represent an entire screen. Why are you putting it in a BottomSheet?
g
I have a reusable component with bottom sheet integration based on scaffold. My goal is to show the bottom sheet in the context of another bottom sheet. Another solution requires a lot of refactoring, so I’m trying to find a way to make the current solution work.
But thanks, I think you’re right, I’ll take another approach
c
Interesting - is this based off the design spec (bottom sheet within another bottom sheet)?