Closed ljgww closed 8 years ago
Yes...that's a problem for me too
As a workaround, you can listen for iron-activate
and check the selection state + close the menu when that happens. Here's a demo.
You can also listen to tap
event on the paper-listbox
and close the menu http://jsbin.com/fasagi/1/edit?html,output
Anyways this issue doesn't belong here, it should go to paper-menu-button
as it is the one controlling the close on selection change, so I'll move it there.
I believe the current behavior is by design, a selection change should close the dropdown.
This issue was moved to PolymerElements/paper-menu-button#85
Description
Dropdown with 1 element in the list wont select the item if item is already selected or default selection is predefined in the code
Expected outcome
Closing the popup list
Actual outcome
Popup list stays
Live Demo
Steps to reproduce
Browsers Affected