Ext version tested:
  • Ext 3.3.1
  • Ext 3.4

Adapter used:
  • ext

css used:
  • only default ext-all.css

Browser versions tested against:
  • IE8
  • Chrome v14.0.825.0

Operating System:
  • WinXP Pro

  • 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.

Test Case:

  • 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:
  • See above.

The result that was expected:
  • See above.

The result that occurs instead:
  • See above.

Possible fix:
  • 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.