Hi! I have a question related to `SupportingPaneSc...
# compose-android
p
Hi! I have a question related to
SupportingPaneScaffold
. I wanted to include a bottom sheet inside the main pane, so I added a
BottomSheetScaffold
inside the mainPane in the
SupportingPaneScaffold
but I got an error
"The offset was read before being initialized. Did you access the offset in a phase before layout, like effects or composition?"
. Using the latest versions of compose and the adaptive libraries.
Just curious if you have seen this error before using
BottomSheetScaffold
, googling I saw it might happen in other scenarios too.
a
It has something to do with
Modifier.wrapWidht
or
height
I think in that case these scaffolds are not able to get the dimension of the child composable. Can you try with changing those values just to see if this fixes the issue or not?