Fixed
Status Update
Comments
le...@google.com <le...@google.com>
kl...@google.com <kl...@google.com>
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit ad88b767ebfe54a4aef28a205bb8253006f9a456
Author: Zach Klippenstein <klippenstein@google.com>
Date: Fri Jul 21 14:57:14 2023
Fix PopupPositionProvider not observing state on Android.
It's already observing on desktop, where it's called from inside a
layout block.
Fixes: b/292257547
Test: PopupLayoutTest
Relnote: "`PopupPositionProvider.calculatePosition` will now
automatically update the popup's position when state read in the
calculation is changed."
Change-Id: I676a1545d580b30913ea70eae043a303bbbeba6c
M compose/ui/ui/src/androidAndroidTest/kotlin/androidx/compose/ui/window/PopupLayoutTest.kt
M compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/window/AndroidPopup.android.kt
https://android-review.googlesource.com/2672156
Branch: androidx-main
commit ad88b767ebfe54a4aef28a205bb8253006f9a456
Author: Zach Klippenstein <klippenstein@google.com>
Date: Fri Jul 21 14:57:14 2023
Fix PopupPositionProvider not observing state on Android.
It's already observing on desktop, where it's called from inside a
layout block.
Fixes:
Test: PopupLayoutTest
Relnote: "`PopupPositionProvider.calculatePosition` will now
automatically update the popup's position when state read in the
calculation is changed."
Change-Id: I676a1545d580b30913ea70eae043a303bbbeba6c
M compose/ui/ui/src/androidAndroidTest/kotlin/androidx/compose/ui/window/PopupLayoutTest.kt
M compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/window/AndroidPopup.android.kt
na...@google.com <na...@google.com> #3
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.compose.ui:ui:1.6.0-alpha03
androidx.compose.ui:ui-android:1.6.0-alpha03
Description
Workaround: Force the Popup function to restart when the position should change.