Hi, we have a single activity mixed fragments/comp...
# android
m
Hi, we have a single activity mixed fragments/compose app using Compose ModalBottomSheets. I found out yesterday how to prevent the sheets from overlapping with system bars by enableEdgeToEdge() on the activity, and since it's a mixed app, I've set the margin of the activity root to use the windowInsets but not consume them so that the sheet will also respect the windowInsets. And it works, except that when the sheet is being dismissed it goes over the navigationBar, or rather "through" it, the nav buttons stay visible, but the navigationbar background is covered by the sheet while it's being dismissed (I'm testing with 3-button nav). At first I thought this might not be possible to fix, but I saw Instagram and Uber apps have sheets which slide under the navigationBar background when they are dismissed. How is this done?
not kotlin but kotlin colored 2