Compose Material 1.5.0-alpha01 ships with a bugfix for an edge case crash on screen rotation, and also makes using animation APIs like animateContentSize work smoothly. This was the last big bugfix on our list - up next we're now stabilizing the M2 bottom sheet APIs (along with other components like SwipeToDismiss).
It all took some time but this allowed us to address the issues at a foundational level and should be worth it in the long run!
I've been prototyping a Swipeable/ModalBottomSheetState progress API too since the way we expose the progress changed a bit with the recent refactoring. What do folks think about this API? Does it fit your use case?
@jossi In the 1.4 release, the target value is not exposed in the state anymore which makes it impossible (I think) to know if the bottom sheet is being expanded or collapsed by the user until it fully reaches its new state. This is quite nice to know if you want to display different content in the footer based on the collapsed/expanded state. Any plans to add something similar back or suggestions about how to solve it in another way?