Status Update
Comments
al...@gmail.com <al...@gmail.com> #2
We recently landed stability improvements and bugfixes in aosp/2258262 and will stabilize ModalBottomSheetLayout following a few release cycles. We are still evaluating the future API of BottomSheetScaffold and are expecting it to stay experimental for a bit more while we migrate it to Swipeable V2.
ni...@google.com <ni...@google.com> #3
jo...@jossiwolf.de <jo...@jossiwolf.de> #5
Bumping to P1 as it is been a long while since we need to land this.
co...@protonmail.com <co...@protonmail.com> #6
Do we expect this to land by EOW? It's in the SLO chaselist now and very on fire.
ma...@google.com <ma...@google.com> #7
ap...@google.com <ap...@google.com> #8
Branch: androidx-main
commit e299b64fa3574b44e745173f406bc3b49e1d47f7
Author: Jossi Wolf <jossiwolf@google.com>
Date: Mon Nov 27 19:34:32 2023
[M2] Stabilize ModalBottomSheetLayout
Relnote: Material (2) modal bottom sheets have been promoted from experimental to stable. Deprecated constructors have been removed. The animation spec is now a tween spec in accordance with guidelines.
Fixes: 278692145, 266780235, 261409034
Test: Added modalBottomSheet_show_animatesToHalfExpandedFirstAndToExpandedAfter
Change-Id: Ic53f4fe7c7183569cb7322c8f56f571be5316be0
M compose/material/material/api/current.txt
M compose/material/material/api/restricted_current.txt
M compose/material/material/src/androidInstrumentedTest/kotlin/androidx/compose/material/ModalBottomSheetStateTest.kt
M compose/material/material/src/androidInstrumentedTest/kotlin/androidx/compose/material/ModalBottomSheetTest.kt
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/ModalBottomSheet.kt
al...@gmail.com <al...@gmail.com> #9
Branch: androidx-main
commit 8cae2e36009d6c9c6905c4385e2db39100eff3ef
Author: Jossi Wolf <jossiwolf@google.com>
Date: Wed Nov 29 14:21:26 2023
[M2] Stabilize BottomSheetScaffold
Relnote: Material (2) standard bottom sheets have been promoted from experimental to stable. Deprecated constructors have been removed. The animation spec is now a tween spec in accordance with guidelines.
Fixes: 278692145, 261409034
Test: Existing tests
Change-Id: I3c1a892338d183db35ecf3c023255682b4e785bd
M compose/material/material/api/current.txt
M compose/material/material/api/restricted_current.txt
M compose/material/material/src/androidInstrumentedTest/kotlin/androidx/compose/material/BottomSheetScaffoldTest.kt
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/BottomSheetScaffold.kt
ma...@google.com <ma...@google.com>
ng...@gmail.com <ng...@gmail.com> #10
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.compose.material:material:1.7.0-alpha03
androidx.compose.material:material-android:1.7.0-alpha03
androidx.compose.material:material-desktop:1.7.0-alpha03
jo...@google.com <jo...@google.com> #11
#10, this issue tracks the implementation of the skip collapsed flag for Compose Material's ModalBottomSheetLayout. The change was released in
You are thinking of Accompanist Navigation Material for which we track the issues and requests over on GitHub. We have explored some options but haven't found a satisfactory implementation in Navigation yet since it requires a recomposition of ModalBottomSheetLayout
. Follow along in this Accompanist issue to be notified about updates:
Description
material-components-android
provides the ability to "skip collapsed", which basically allows you to skip the halfway expanded collapsed state when dismissing a fully expanded bottom sheet. (It would be good if the compose library could provide this ability as well (as our design system library currently relies on the behavior and we are aiming to have our compose code be 100% consistent with traditional views).