Results 1 to 2 of 2

Thread: Toolbar 'trackMenus' bug, Ext JS 6.5.0.775

    You found a bug! We've classified it as EXTJS-25343 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1

    Default Toolbar 'trackMenus' bug, Ext JS 6.5.0.775

    Ext version tested:


    • Ext 6.5.0 rev 775 (Classic toolkit)


    Browser versions tested against:


    • Chrome (latest)
    • IE11


    DOCTYPE tested against:


    • HTML5


    Description:

    The trackMenus config is intended for these use cases:


    • When multiple buttons in a toolbar have menus, setting this config to true allows the first top-level menu to be opened via click, but any subsequent menus in that toolbar to be opened on hover.
    • Setting this config to false means that each top-level menu opens ONLY when its corresponding button is clicked.
    • However, setting trackMenus to false now has the undesirable (and I'm guessing unintended) effect of preventing menus from being used. The menus open, but the instant a user tries to mouse over the menu, it disappears, rendering it useless.
    • Fiddle: https://fiddle.sencha.com/#view/editor&fiddle/20ac


    Steps to reproduce the problem:


    • Simply create a toolbar with a few buttons, at least two of which include menus.
    • Set trackMenus to false.
    • Click a button that contains a menu.


    The result that was expected:


    • Each menu should open and close when its parent button is clicked.
    • Each menu should remain persistent (visible) until it is closed via click.


    The result that occurs instead:


    • The menu opens, but instantly disappears when the mouse leaves the parent button that opened the menu.

  2. #2
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,256

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

Similar Threads

  1. Replies: 4
    Last Post: 24 Jan 2017, 6:57 AM
  2. Replies: 1
    Last Post: 1 Oct 2014, 1:33 PM
  3. Replies: 0
    Last Post: 18 Oct 2011, 12:44 AM
  4. Replies: 0
    Last Post: 31 Aug 2011, 12:20 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •