diff --git a/ui/src/main/kotlin/org/jetbrains/jewel/ui/component/Menu.kt b/ui/src/main/kotlin/org/jetbrains/jewel/ui/component/Menu.kt index aa96a65f3..4cf178c5c 100644 --- a/ui/src/main/kotlin/org/jetbrains/jewel/ui/component/Menu.kt +++ b/ui/src/main/kotlin/org/jetbrains/jewel/ui/component/Menu.kt @@ -81,7 +81,6 @@ import org.jetbrains.jewel.ui.component.styling.MenuItemMetrics import org.jetbrains.jewel.ui.component.styling.MenuStyle import org.jetbrains.jewel.ui.painter.hints.Stateful import org.jetbrains.jewel.ui.theme.menuStyle -import org.jetbrains.jewel.ui.util.thenIf @Composable public fun PopupMenu( @@ -169,14 +168,6 @@ internal fun MenuContent( .background(colors.background, menuShape) .width(IntrinsicSize.Max) .onHover { localMenuManager.onHoveredChange(it) } - .thenIf(anyIconItem) { - onKeyEvent { - if (it.type == KeyEventType.KeyDown) { - // todo - } - false - } - }, ) { Column(Modifier.verticalScroll(scrollState).padding(style.metrics.contentPadding)) { items.forEach {