helix-ui icon indicating copy to clipboard operation
helix-ui copied to clipboard

Menu does not close after selecting an option

Open TheNando opened this issue 7 years ago • 1 comments

Describe the Bug

The menu should automatically close after a user has clicked/selected an option, but it stays open until you click away to blur. Perhaps this is by design, though I have yet to find another component library that does not hide the menu after a selection is made.

Steps to Reproduce

Using the example menus from https://rackerlabs.github.io/helix-ui/components/menus/

  1. Click a menu button to display the pop up list of options
  2. Select any option from the list

Expected behavior

The option should be selected and the popup list should hide

Screenshots

If applicable, add screenshots to help explain your problem. image

Environment

Please complete the following information:

  • Device: Macbook Pro
  • OS: macOS Sierra v10.12.2
  • Browser: Chrome v69.0.3497.100 and Firefox v59.0.1

TheNando avatar Sep 25 '18 19:09 TheNando

We'll be looking into refactoring how <hx-menu> and <hx-menuitem> behave as part of a future update.

CITguy avatar Jan 29 '19 21:01 CITguy