paper-menu-button
paper-menu-button copied to clipboard
Behavior broken when transitioning between "device mode" and "normal mode"
Repro steps:
- Navigate to the demo page https://elements.polymer-project.org/elements/paper-menu-button?view=demo:demo/index.html&active=paper-menu-button.
- Turn on "device mode" in Chrome (by clicking on the top right icon shown at the following image),

- Reload the page (to ensure that the page loads while device mode is already on).
- Turn off device mode (by clicking on the same icon).
- Click on any paper-menu-button in the demo, no menu comes up.
This is reported at https://bugs.chromium.org/p/chromium/issues/detail?id=611382, since it is affecting Chrome's Polymer-ized pages.
/cc @danbeam.
Actually this bug is more of an issue on a device that has both touch and mouse interfaces (like the Chromebook Pixel). Updated repro steps below
- Navigate to the demo page https://elements.polymer-project.org/elements/paper-menu-button?view=demo:demo/index.html&active=paper-menu-button.
- Click (using the mouse) on any paper-menu-button to open a menu, it opens fine.
- Click (using the mouse) anywhere outside to close the menu, menu does not close.
Same happens if a screen tap is used to open the menu. Basically no matter how a menu is opened, clicking outside does not close the menu, if the device is also a touch device.