From 9c89077b5a22b7de794ac7e32273e5eeffa649e3 Mon Sep 17 00:00:00 2001 From: Yahor Urbanovich Date: Fri, 5 Jun 2026 23:15:27 +0300 Subject: [PATCH] Fix side panel closing issue when clicking inside the panel content area --- tools/idea-plugin/CHANGELOG.md | 4 ++++ .../valkyrie/ui/screen/webimport/common/ui/SidePanel.kt | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/idea-plugin/CHANGELOG.md b/tools/idea-plugin/CHANGELOG.md index 794777663..3cbe0d1bc 100644 --- a/tools/idea-plugin/CHANGELOG.md +++ b/tools/idea-plugin/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Fixed + +- [Web Import] Fix side panel closing when clicking inside the panel content area + ## 1.6.0 - 2026-05-29 ### Added diff --git a/tools/idea-plugin/src/main/kotlin/io/github/composegears/valkyrie/ui/screen/webimport/common/ui/SidePanel.kt b/tools/idea-plugin/src/main/kotlin/io/github/composegears/valkyrie/ui/screen/webimport/common/ui/SidePanel.kt index 4bb3222c1..46c1ec1e7 100644 --- a/tools/idea-plugin/src/main/kotlin/io/github/composegears/valkyrie/ui/screen/webimport/common/ui/SidePanel.kt +++ b/tools/idea-plugin/src/main/kotlin/io/github/composegears/valkyrie/ui/screen/webimport/common/ui/SidePanel.kt @@ -57,7 +57,8 @@ fun SidePanel( .widthIn(max = 250.dp) .fillMaxHeight() .clip(RoundedCornerShape(topStart = 12.dp, bottomStart = 12.dp)) - .background(JewelTheme.overlay), + .background(JewelTheme.overlay) + .pointerInput(Unit) {}, ) { content() }