Skip to content

Commit

Permalink
Use stopImmediatePropagation()
Browse files Browse the repository at this point in the history
  • Loading branch information
haukesomm committed Jan 30, 2025
1 parent 678156b commit 19213aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ class Combobox<E : HTMLElement, T>(tag: Tag<E>, id: String?) : Tag<E> by tag, Op
keydownsIf {
if (shortcutOf(this) in (itemActivationKeys + Keys.Enter)) {
preventDefault()
stopPropagation()
stopImmediatePropagation()
true
} else false
}.map { event ->
Expand Down

0 comments on commit 19213aa

Please sign in to comment.