Search and Top Navigation
#15034 closed bug (fixed)
Opened August 18, 2016 05:47AM UTC
Closed April 25, 2017 10:33AM UTC
Last modified April 25, 2017 10:34AM UTC
Menu items are indefinitely-clickable
Reported by: | yegorpetrov | Owned by: | scottgonzalez |
---|---|---|---|
Priority: | minor | Milestone: | 1.12.2 |
Component: | ui.menu | Version: | 1.12.0 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Menu and sub-menu items can be clicked indefinitely, and the menu won't hide as long as you click quickly enough.
In a likely scenario, the user can accidentally double-click an item in a sub-/dropdown menu and both clicks will fire the 'select' event, which is not how menus usually work, i.e. you can't use the same item without re-opening the menu.
Try it here: https://jsfiddle.net/x18ds5a8/2/
Attachments (0)
Change History (3)
Changed April 18, 2017 09:37PM UTC by comment:1
status: | new → open |
---|
Changed April 25, 2017 10:33AM UTC by comment:2
owner: | → scottgonzalez |
---|---|
resolution: | → fixed |
status: | open → closed |
In [changeset:"0d25a36eecb9e5598596208e4852b3c3fdbf5510" 0d25a36]:
#!CommitTicketReference repository="" revision="0d25a36eecb9e5598596208e4852b3c3fdbf5510" Menu: Close menus immediately on selection or click outside Fixes #15034 Closes gh-1807
Changed April 25, 2017 10:34AM UTC by comment:3
milestone: | none → 1.12.2 |
---|
https://github.com/jquery/jquery-ui/pull/1807