Skip to content

Commit d8a6193

Browse files
committed
sto propagation on submenu escape
1 parent dcaf04a commit d8a6193

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/renderer/menubar/views.cljs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,8 @@
582582
(into [:> Menubar/SubContent
583583
{:class "menu-content"
584584
:align "start"
585-
:loop true}]
585+
:loop true
586+
:on-escape-key-down #(.stopPropagation %)}]
586587
(map menu-item items))]])
587588

588589
(defmethod menu-item :root

0 commit comments

Comments
 (0)