From e260f63d39eb2ab46587df157cc35b4ccb357004 Mon Sep 17 00:00:00 2001 From: Michael Flathe Date: Fri, 8 May 2026 14:59:45 +0200 Subject: [PATCH 1/2] Fix empty NavDisplay backstack by removing redundant onBack calls in PanelScene --- .../kotlin/io/github/openflocon/navigation/scene/PanelScene.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/FloconDesktop/navigation/src/commonMain/kotlin/io/github/openflocon/navigation/scene/PanelScene.kt b/FloconDesktop/navigation/src/commonMain/kotlin/io/github/openflocon/navigation/scene/PanelScene.kt index 21f517fd1..d3bf8ef2f 100644 --- a/FloconDesktop/navigation/src/commonMain/kotlin/io/github/openflocon/navigation/scene/PanelScene.kt +++ b/FloconDesktop/navigation/src/commonMain/kotlin/io/github/openflocon/navigation/scene/PanelScene.kt @@ -54,7 +54,6 @@ data class PanelScene( onClick = { scope.launch { state.hide() - onBack() } }, modifier = Modifier @@ -70,7 +69,6 @@ data class PanelScene( scope.launch { onPin.onPin() state.hide() - onBack() } }, modifier = Modifier From 62d8b75185a067c2af4e6f90955b8a98786c3bb4 Mon Sep 17 00:00:00 2001 From: Michael Flathe Date: Fri, 8 May 2026 15:42:11 +0200 Subject: [PATCH 2/2] Remove onDismissRequest from FloconPanel EscapeHandler --- .../library/designsystem/components/panel/FloconPanel.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/FloconDesktop/library/designsystem/src/commonMain/kotlin/io/github/openflocon/library/designsystem/components/panel/FloconPanel.kt b/FloconDesktop/library/designsystem/src/commonMain/kotlin/io/github/openflocon/library/designsystem/components/panel/FloconPanel.kt index 0f1cc4074..b2c6548b0 100644 --- a/FloconDesktop/library/designsystem/src/commonMain/kotlin/io/github/openflocon/library/designsystem/components/panel/FloconPanel.kt +++ b/FloconDesktop/library/designsystem/src/commonMain/kotlin/io/github/openflocon/library/designsystem/components/panel/FloconPanel.kt @@ -101,7 +101,6 @@ fun FloconPanel( EscapeHandler { coroutineScope.launch { state.hide() - onDismissRequest() } true }