Can
04/09/2025, 9:15 AMbringToFront
function in RootComponent. If the user—_for some mysterious reason_—starts rapidly switching between tabs, the navigation can get stuck on one of the screens. When that happens, the screen becomes unresponsive to clicks. We share the RootComponent in android and iOS and it affects both. I also noticed the same issue in the sample Decompose app.Can
04/09/2025, 9:16 AMprivate fun onTabClicked() {
if (isSwitchingTabs) return
isSwitchingTabs = true
navigation.bringToFront(Config.A) {
scope.launch {
delay(100)
isSwitchingTabs = false
}
}
}
Arkadii Ivanov
04/09/2025, 9:28 AMChildStack
Composable function from extensions-compose-experimental
module.Can
04/09/2025, 10:31 AMChildStack
. Thank you!Arkadii Ivanov
04/09/2025, 10:33 AMArkadii Ivanov
04/09/2025, 10:33 AM