Thread
#compose
    rsktash

    rsktash

    10 months ago
    Anybody who encountered issue with BottomSheetScaffold error when sheet content is empty there is a workaround for it. If we pass a composable with minimum height
    else {
      Box(Modifier.height(Dp.Hairline))
    }
    it won't crash.
    Dp.Hairline seems to be won't work for this workaround. I ended up giving a 1.dp size
    Albert Chang

    Albert Chang

    10 months ago