Status Update
Comments
se...@google.com <se...@google.com>
ca...@thetrainline.com <ca...@thetrainline.com> #2
Project: platform/frameworks/support
Branch: androidx-main
Author: Louis Pullen-Freilich <
Link:
Adds OverscrollEffect#withoutDrawing and OverscrollEffect#withoutEventHandling
Expand for full commit details
Adds OverscrollEffect#withoutDrawing and OverscrollEffect#withoutEventHandling
These APIs allow overscroll to have events dispatched to it by one component, and rendered in a separate component.
Fixes: b/266550551
Fixes: b/204650733
Fixes: b/255554340
Fixes: b/229537244
Test: OverscrollTest
Relnote: "Adds OverscrollEffect#withoutDrawing and OverscrollEffect#withoutEventHandling APIs - these APIs create a wrapped instance of the provided overscroll effect that doesn't draw / handle events respectively, which allows for rendering overscroll in a separate component from the component that is dispatching events. For example, disabling drawing the overscroll inside a lazy list, and then drawing the overscroll separately on top / elsewhere."
Change-Id: Idbb3d91546b49c1987a041f959bce4b2b09a9f61
Files:
- M
compose/foundation/foundation/api/current.txt
- M
compose/foundation/foundation/api/restricted_current.txt
- M
compose/foundation/foundation/integration-tests/foundation-demos/src/main/java/androidx/compose/foundation/demos/OverscrollDemo.kt
- M
compose/foundation/foundation/samples/src/main/java/androidx/compose/foundation/samples/OverscrollSample.kt
- M
compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/OverscrollTest.kt
- M
compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/Overscroll.kt
Hash: f64e25b7a473c757d080521e7dd97b3f6670f60d
Date: Fri Nov 01 18:43:56 2024
ko...@gmail.com <ko...@gmail.com> #3
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.compose.foundation:foundation:1.8.0-alpha06
androidx.compose.foundation:foundation-android:1.8.0-alpha06
androidx.compose.foundation:foundation-jvmstubs:1.8.0-alpha06
androidx.compose.foundation:foundation-linuxx64stubs:1.8.0-alpha06
kl...@naver.com <kl...@naver.com> #4
Any update?
ni...@gmail.com <ni...@gmail.com> #5
Blocked my migration to compose. Bottom sheetDialogFragment already has this.
mu...@gmail.com <mu...@gmail.com> #6
j6...@gmail.com <j6...@gmail.com> #7
An update would be appreciated. As of now, one workaround I'm using is
confirmValueChange = { it != SheetValue.Hidden }
se...@google.com <se...@google.com>
at...@gmail.com <at...@gmail.com> #8
va...@gmail.com <va...@gmail.com> #9
r....@kaizengaming.com <r....@kaizengaming.com> #10
sv...@gmail.com <sv...@gmail.com> #11
aj...@gmail.com <aj...@gmail.com> #12
r....@kaizengaming.com <r....@kaizengaming.com> #13
se...@google.com <se...@google.com>
ap...@google.com <ap...@google.com> #14
Project: platform/frameworks/support
Branch: androidx-main
Author: Jose Figueroa <
Link:
[Material3][ModalBottomSheet] Add sheetGestureEnabled parameter to allow manual disabling of gestures
Expand for full commit details
[Material3][ModalBottomSheet] Add sheetGestureEnabled parameter to allow manual disabling of gestures
RelNote: "ModalBottomSheet now has sheetGestureEnabled parameter"
Bug: 288211587
Test: Added unit test for nested scrolling behavior
Change-Id: I856cbb6b8907ce773d47589f2c83a828a5740eb8
Files:
- M
compose/material3/material3/api/current.txt
- M
compose/material3/material3/api/restricted_current.txt
- M
compose/material3/material3/src/androidInstrumentedTest/kotlin/androidx/compose/material3/ModalBottomSheetTest.kt
- M
compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/ModalBottomSheet.kt
Hash: 18bebb5575db25ab0ff3b5e439401ea40e7bad0e
Date: Mon Sep 30 14:31:26 2024
se...@google.com <se...@google.com>
aj...@gmail.com <aj...@gmail.com> #15
se...@gmail.com <se...@gmail.com> #16
Was this fix also added to Material ModalBottomSheet?
na...@google.com <na...@google.com> #17
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.compose.material3:material3:1.4.0-alpha02
androidx.compose.material3:material3-android:1.4.0-alpha02
androidx.compose.material3:material3-jvmstubs:1.4.0-alpha02
androidx.compose.material3:material3-linuxx64stubs:1.4.0-alpha02
ch...@gmail.com <ch...@gmail.com> #18
se...@google.com <se...@google.com> #19
We do not have a timeline for a Material implementation. Please create a separate issue for that component if it does not exist.
ma...@extrabat.com <ma...@extrabat.com> #20
Hi, any delay to have it on a stable release ?
Description
Jetpack Compose version: 1.2.0-alpha02
Jetpack Compose component used: androidx.compose.material3:material3
Similar to https://issuetracker.google.com/issues/186669832 (Material 2 ModalBottomSheet) I need to have an option to disable the drag gesture in certain cases for the Material 3 version of ModalBottomSheet.
Currently, there is only the
confirmValueChange
parameter inrememberModalBottomSheetState
but that is only called for the 3 SheetValues, no for any draggable state.I noticed that the
enabled
state fordraggable
inModifier.modalBottomSheetSwipeable
is inly dependent on the visibility of the sheet. MaybeSheetState
could get another parameterdragEnabled
which could then also be checked.