when I use `BottomSheetScaffold` it's `content` se...
# compose
d
when I use
BottomSheetScaffold
it's
content
seems to "steal" clicks even if it's empty. View below this scaffold doesn't receive them. is there an option to make them pass through
content
?
c
I have used BSS a ton and haven't seen this. Do you have a little reproducible case? In my usages I have a persistent bottom sheet and it can be interacted with and my content beneath can also be interacted with.
d
I have this (pseudo code)
Copy code
android.view.ViewGroup
  ComposeView {
    BottomSheetScaffold(sheetConent = { MySheet() }, content = {})
  }
so I don't use content from BSS at all, I want legacy android view to get all the clicks outside of sheet content. And it doesnt work, they get consumed by
content
. Judging from sources,
content
gets wrapped in Surface, I suspect it's responsible for consuming all them...
m
I'm interested if you have found a workaround for this @dimsuz ;)
d
Sorry, can't remember now. (even which project this was in). If this issue is still there in the recent compose version, perhaps you should post it as a new question in this channel, for visibility (no one sees messages in old threads).