Status Update
Comments
ke...@google.com <ke...@google.com>
jb...@google.com <jb...@google.com>
co...@google.com <co...@google.com> #2
Seeing the same issue in ModalBottomSheet from material3-android -> 1.4.0-alpha05
.
jo...@google.com <jo...@google.com> #3
co...@google.com <co...@google.com>
ni...@regainapp.ai <ni...@regainapp.ai> #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.
ni...@regainapp.ai <ni...@regainapp.ai> #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
1.7.2
1.7.2
material-navigation:1.7.0-beta01
1.9.23
We're observing random crashes within
BottomSheetNavigator
when user tries to press (we assume) system back. Unfortunately we do not have any repro steps for now as it happens to margin of users, without any clear distinction for Android version / manufacturer.The stack trace points to
retainedEntry!!
usage, which in turn seems like a race condition:I know the same issue has been already reported about it back when this code was within accompanist library, linking those here:
Stack trace (if applicable):