Status Update
Comments
sh...@google.com <sh...@google.com> #2
Seeing the same issue in ModalBottomSheet from material3-android -> 1.4.0-alpha05
.
sp...@gmail.com <sp...@gmail.com> #3
ni...@gmail.com <ni...@gmail.com> #4
This is due to new motionScheme property. Previously the bug was fixed by using tween animation and starting from 1.4 spring is used again.
se...@google.com <se...@google.com>
sg...@google.com <sg...@google.com> #5
We can either use an "effects" motion, which is not bouncy and will not cause the animation values over or under 1 and -1.
But I recall we have taken care of this problem specifically for this this component at
A few questions for the reporter:
- Can you provide some code to replicate it.
- Did you make changes to the MotionScheme default values? Did you pick
standard
orexpressive
as a motion scheme in the MaterialTheme?
Thanks
Description
I have a ModalBottomSheet and within I have a LazyColumn with a list of items. When I scroll quickly up or down, i.e. fling, that LazyColumn content, then the bottom sheet briefly detaches from the bottom or the top (depending on scroll direction). I want to remove this behaviour so that my ModalBottomSheet is firmly stuck to the bottom and the top (it's a full screen bottom sheet).
I think it's a bug in the ModalBottomSheet, it used to not behave like that in previous versions. I also experiencing the same issue in latest ModalBottomSheetLayout (material 2)