79669177

Date: 2025-06-17 13:34:36
Score: 2.5
Natty:
Report link

I found out that with the current material 3 ( 1.3.2 ) it is not possible to totally disable the dismiss of the ModalBottomSheet when scrolling down, but it should be possible in the next stable release of the material 3, as seen from https://developer.android.com/jetpack/androidx/releases/compose-material3#1.4.0-alpha15. A workaround for this question was found in how to prevent Modal Bottom Sheet from getting close on swipe Down in compose which may help you till the new material 3 ( 1.4.0 - stable ) is released

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mr Good Bear