Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

<core-menu> item selection should not stay selected when reopened #56

Open
0x24a537r9 opened this issue Feb 28, 2015 · 1 comment
Open

Comments

@0x24a537r9
Copy link

It's a bit odd that when I use a twice that has a that the item stays selected after I click it, and when I reopen it, that one is still selected. You can observe this behavior in https://www.polymer-project.org/components/paper-menu-button/demo.html by clicking the first button.

In a regular drop-down field it may make sense to show the currently selected value, but in a (where you're not so much choosing a selection as just choosing one of many actions), showing the previous selection is confusing and strange.

@ootwch
Copy link

ootwch commented Nov 1, 2016

Workaround: set selected=null after handling the event.

http://stackoverflow.com/a/40357787/1878199

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants