Konstantin Klassen
09/03/2023, 7:56 PMThe offset was read before being initialized. Did you access the offset in a phase before layout, like effects or composition?
in BottomSheetScaffold
? Will this be included in the next alpha?jossiwolf
09/04/2023, 10:55 AMBottomSheetScaffold
? Do you use NavHost
or AnimatedContent
and Scaffold
?Konstantin Klassen
09/04/2023, 8:11 PMLookaheadScope
and Scaffold
count as well?Konstantin Klassen
09/04/2023, 8:13 PMNavHost
and LookaheadScope
it is. Only when I remove both it does not crashjossiwolf
09/04/2023, 9:24 PMjossiwolf
09/04/2023, 9:24 PMKonstantin Klassen
09/05/2023, 5:20 AMbrandonmcansh
11/03/2023, 8:58 PMBottomSheetScaffold(
scaffoldState = rememberBottomSheetScaffoldState(
bottomSheetState = rememberStandardBottomSheetState(SheetValue.Hidden)
),
sheetShape = MaterialTheme.shapes.large.copy(
bottomStart = ZeroCornerSize,
bottomEnd = ZeroCornerSize
),
sheetTonalElevation = 0.dp,
sheetShadowElevation = 4.dp,
sheetContainerColor = MaterialTheme.colorScheme.surface,
sheetContentColor = MaterialTheme.colorScheme.onSurface,
sheetContent = {
[..]
},
content = {
[..]
},
)