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

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

@lkovaleva

Description

@lkovaleva

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions