Fixed
Status Update
Comments
ys...@google.com <ys...@google.com> #2
If I change
expandedState.expanded = !expanded
to
expandedState.expanded = !expandedState.expanded
It works, because both forms of the screen get the same value.
st...@google.com <st...@google.com>
mn...@google.com <mn...@google.com>
ap...@google.com <ap...@google.com> #3
Project: platform/frameworks/support
Branch: androidx-main
commit 90b7be5c5d7075b6f0f6852827de65f8718545c5
Author: Sergio Sancho <ssancho@google.com>
Date: Mon Jul 10 11:23:08 2023
Fix expandedItem's behavior when they have buttons.
If a expandedItems has buttons, we need to set the z-index of the collapsed
and expanded versions of the content so iuser interactions matches with
what the user sees.
I.e. if we are seeing the expanded version, the expanded controls are
clickable.
Relnote: "Fix expandedItem's behavior when they have buttons."
Test: Added
Bug: 289991514
Set the z-index of expandables so the
Change-Id: I1899d8055e5ebd89263fc498964565215452e95c
M wear/compose/compose-foundation/src/androidTest/kotlin/androidx/wear/compose/foundation/CurvedBoxTest.kt
A wear/compose/compose-foundation/src/androidTest/kotlin/androidx/wear/compose/foundation/ExpandableTest.kt
M wear/compose/compose-foundation/src/androidTest/kotlin/androidx/wear/compose/foundation/FoundationTest.kt
M wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/Expandable.kt
M wear/compose/integration-tests/demos/src/main/java/androidx/wear/compose/integration/demos/ExpandableDemo.kt
https://android-review.googlesource.com/2652123
Branch: androidx-main
commit 90b7be5c5d7075b6f0f6852827de65f8718545c5
Author: Sergio Sancho <ssancho@google.com>
Date: Mon Jul 10 11:23:08 2023
Fix expandedItem's behavior when they have buttons.
If a expandedItems has buttons, we need to set the z-index of the collapsed
and expanded versions of the content so iuser interactions matches with
what the user sees.
I.e. if we are seeing the expanded version, the expanded controls are
clickable.
Relnote: "Fix expandedItem's behavior when they have buttons."
Test: Added
Bug: 289991514
Set the z-index of expandables so the
Change-Id: I1899d8055e5ebd89263fc498964565215452e95c
M wear/compose/compose-foundation/src/androidTest/kotlin/androidx/wear/compose/foundation/CurvedBoxTest.kt
A wear/compose/compose-foundation/src/androidTest/kotlin/androidx/wear/compose/foundation/ExpandableTest.kt
M wear/compose/compose-foundation/src/androidTest/kotlin/androidx/wear/compose/foundation/FoundationTest.kt
M wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/Expandable.kt
M wear/compose/integration-tests/demos/src/main/java/androidx/wear/compose/integration/demos/ExpandableDemo.kt
ss...@google.com <ss...@google.com>
na...@google.com <na...@google.com> #4
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.wear.compose:compose-foundation:1.3.0-alpha02
Description
Component used: Wear Compose
Version used: 1.2.0-beta01
Devices/Android versions reproduced on: emulator