Status Update
Comments
ku...@gmail.com <ku...@gmail.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit c2365dcfeb9064814282304f30f3eb86be71fdc7
Author: Dan Nizri <dniz@google.com>
Date: Wed Dec 20 16:33:08 2023
Fix Popup back handling on Android T/13+ when android:enableOnBackInvokedCallback="true"
Bug: 313702338
Bug: 318537200
Test: tested with android:enableOnBackInvokedCallback="true"
Change-Id: I7c7cef686ed9fbfd2d144c90040b13528f1675ed
M compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/window/AndroidPopup.android.kt
https://android-review.googlesource.com/2886766
Branch: androidx-main
commit c2365dcfeb9064814282304f30f3eb86be71fdc7
Author: Dan Nizri <dniz@google.com>
Date: Wed Dec 20 16:33:08 2023
Fix Popup back handling on Android T/13+ when android:enableOnBackInvokedCallback="true"
Bug: 313702338
Bug: 318537200
Test: tested with android:enableOnBackInvokedCallback="true"
Change-Id: I7c7cef686ed9fbfd2d144c90040b13528f1675ed
M compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/window/AndroidPopup.android.kt
Description
While usinghttps://github.com/chrisbanes/tivi as reference for how to use Nav Component with Compose, I came across an issue that only exists in 2.4.0-alpha05. While navigating around the app, if you re-selected the currently selected primary navigation item while you are not on the
startDestination
route, then the screen goes blank.Component used: Navigation Component + Compose Version used: 2.4.0-alpha05 (does not happen on 2.4.0-alpha04) Devices/Android versions reproduced on: Pixel 3 + Emulator
Reproducible with this app:https://github.com/chrisbanes/tivi by just upgrading to 2.4.0-alpha05 in gradle/libs.versions.toml.