-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Events of type activateEvent
are not allowed to bubble but may be needed by ancestors.
#56
Comments
i suppose that is the problem i have. when i focus an element in the "paper-listbox" then window.addEventListener("keydown", hdr); don't get events anymore. Is there a workaround than i can catch F5 key while the focus is on "paper-listbox" ? |
The same thing happens with keydown events, which are also stopped from propagating. |
The issue @tgsergeant mentioned is causing issues for me as well as I am trying to catch KeyboardEvents with backspace to prevent navigating to the previous page. |
Here is another example of this causing a problem -- which is a very common scenario I am afraid.
The tap events don't get propagated. This implies that drawer-toggle doesn't actually work. |
IronMenuBehavior calls
stopPropagation
on any event of typeactivateEvent
to prevent ancestor elements with IronMenuBehavior from also responding, but this prevents all ancestors from responding. IronMenuBehavior should track events it has responded to already and ignore them rather than preventing them from bubbling entirely.The text was updated successfully, but these errors were encountered: