Thank you for reporting this bug. We will make it our priority to review this report.
Event Handlers On Overflowed Toolbar Buttons Not Being Called
Ext version tested:
Browser versions tested against:
- Click event doesn't fire for buttons shown in the overflow menu of a toolbar. From browsing the forums this seems to have been a problem for some time.
- Add a toolbar with overflow enabled and multiple buttons (in my case in button groups) and attach handlers for the click events.
Run the application and ensure that the event handlers are called when buttons visible on the toolbar are clicked.
Reduce the browser window size so that some of the buttons are no longer visible on the toolbar. They should appear in the overflow menu.
Try clicking the items in the overflow menu, and you should find that the events are not being fired, or at least the event handlers attached to the original toolbar buttons aren't being called.
Steps to reproduce the problem:
The result that was expected:
The result that occurs instead:
- The overflow menu is obviously being generated dynamically and the overflow menu items and the original buttons to which the events are attached will be distinct objects. The framework therefore needs to attach the same event handlers to events on the overflow menu items when they are being created.