View Full Version : [FIXED] Double click on itemselector on menu button doesn't work.

24 Aug 2015, 5:59 AM
We have created a component which essentially has an item selector inside a button's menu array. We use this primarily to avoid having a huge itemselector panel thus reducing our windows's height and width. We just have a simple menu button which when pressed shows a panel with an itemselector inside where selections can be made. Everything was working perfectly until we upgraded to extjs 6 and now every time the user double clicks on an item from the selector, it selects it but then immediately closes the menu. When using the selector's defined buttons for adding and removing records to the right, this doesn't happen so it doesn't seem to be a problem with the value setting functions. Only on double click have we noticed this behavior.

I'm going to try and scavenge through the source code but a little help would be appreciated.

Gary Schlosberg
24 Aug 2015, 3:46 PM
Thanks for the report. Can you please post a test case which reproduces this itemselector issue?

24 Aug 2015, 11:04 PM
Yes here you go:https://fiddle.sencha.com/#fiddle/sp0

27 Aug 2015, 10:38 PM
Still haven't found a solution for this. Is it a bug?

28 Aug 2015, 9:51 AM
Yes this looks like a bug, and I think I know what is going on.

Thanks for spotting!