Skip to content
This repository was archived by the owner on Dec 17, 2025. It is now read-only.

Commit b307b42

Browse files
committed
Use stopImmediatePropagation()
1 parent 9fe233f commit b307b42

File tree

1 file changed

+1
-1
lines changed
  • headless/src/jsMain/kotlin/dev/fritz2/headless/components

1 file changed

+1
-1
lines changed

headless/src/jsMain/kotlin/dev/fritz2/headless/components/Combobox.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ class Combobox<E : HTMLElement, T>(tag: Tag<E>, id: String?) : Tag<E> by tag, Op
569569
keydownsIf {
570570
if (shortcutOf(this) in (itemActivationKeys + Keys.Enter)) {
571571
preventDefault()
572-
stopPropagation()
572+
stopImmediatePropagation()
573573
true
574574
} else false
575575
}.map { event ->

0 commit comments

Comments
 (0)