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

Paper menu doesn't close when clicking selected option #100

Open
lkovaleva opened this issue Apr 6, 2016 · 4 comments
Open

Paper menu doesn't close when clicking selected option #100

lkovaleva opened this issue Apr 6, 2016 · 4 comments

Comments

@lkovaleva
Copy link

Description

When a user clicks on an already selected menu item in paper-menu, the menu does not react to the click. I would expect such a click to be a no-op but for the menu to close. As of right now, user has to click outside of the menu to close it without changing the selection.

Expected outcome

The menu should close on click, even when it's the same option as was already selected on open.

Actual outcome

Nothing happens on clicking already selected item, the menu remains open. To close the menu, one must click another option, or click outside of the menu, which is not very intuitive.

Live Demo

https://elements.polymer-project.org/elements/paper-dropdown-menu?view=demo:demo/index.html&active=paper-dropdown-menu

Steps to reproduce

  1. Open the first menu and select "brontosaurus" (menu item is selected and menu is closed).
  2. Open the same menu and select "brontosaurus" again.

Browsers Affected

Only tested in Chrome

@dhrytsenko
Copy link

I have the same problem. Now I have a list and I change the items in it and remains after 1 item user can't to choose it.

@ekoleszar
Copy link

It works for me...

@88mary256
Copy link

I have the same problem

@timoteoponce
Copy link

Had the same problem, by adding the property close-on-activate it solved it.

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

5 participants