Skip to main content

Search and Top Navigation

#15115 open bug ()

Opened December 09, 2016 06:12AM UTC

Last modified May 03, 2017 01:22PM UTC

selectmenuselect fires twice in certain scenario

Reported by: ouroborus Owned by:
Priority: minor Milestone: none
Component: ui.selectmenu Version: 1.12.1
Keywords: Cc:
Blocked by: Blocking:
Description

After setting up a selectmenu with a default set:

Click the menu open,

Click outside the menu (menu loses focus and closes),

Click the menu open again,

Click the item that is currently selected.

This causes two selectmenuselect events to fire.

(This only happens on even number of menu opens and only when the already selected item is selected again.)

Attachments (0)
Change History (1)

Changed May 03, 2017 01:22PM UTC by scottgonzalez comment:1

status: newopen

The description isn't quite accurate, but I haven't been able to figure out what specifically is causing this. You can just keep opening and closing (via clicking outside) and you'll eventually see select events being triggered, even though you've never interacted with the menu itself, just the button.

http://jsbin.com/cubulifice/1/edit?html,js,output