iron-menu-behavior icon indicating copy to clipboard operation
iron-menu-behavior copied to clipboard

IronMenuBehavior prevents all keyboard events from bubbling

Open lghall opened this issue 9 years ago • 1 comments

Description

IronMenuBehavior's _onKeyDown calls stopPropagation() on every keydown event, instead of just stopping the propagation of key combos which you can use to select items. This prevents global event handlers from triggering on common shortcuts (e.g. Ctrl+C, Ctrl+Z) when focus is in a menu.

Browsers Affected

All

lghall avatar Oct 17 '16 14:10 lghall

+1 I tried to bind ctrl+s to a page with a paper-listbox and it does not bubble when said element is focused.

Chali-Anne avatar Feb 17 '17 17:02 Chali-Anne