Results 1 to 7 of 7

Thread: Submenus hide behavior

  1. #1
    Ext Premium Member
    Join Date
    Sep 2009
    Posts
    77
    Vote Rating
    0
      0  

    Default Submenus hide behavior

    In order to understand what I need help for, please see
    http://www.sencha.com/examples-dev/e...l#basictoolbar

    Expand Button w/Menu and then hover the Radio Options. The 2 MenuItems under the Radio Options are now visible. Now if you move the mouse to the left until the cursor is no longer above the Radio Options, the submenu is hidden. But if you move it very fast, the submenu remains visible. Is there anything I can do in order to have the second behavior always?

    Regards,

    Dan

  2. #2
    Sencha Premium Member
    Join Date
    Sep 2007
    Posts
    13,976
    Vote Rating
    131
      0  

    Default

    The menu should always hide, regardless of the mousespeed. I will fix this.

  3. #3
    Ext Premium Member
    Join Date
    Sep 2009
    Posts
    77
    Vote Rating
    0
      0  

    Default

    Is there a way I can make the submenu stay displayed if I click on the parent menu (in this case Radio Options) and then have it hide if I click somewhere else?
    Currently, the default behavior is that the entire menu is hidden if I click on the Radio Options.

    Dan

  4. #4
    Sencha Premium Member
    Join Date
    Sep 2007
    Posts
    13,976
    Vote Rating
    131
      0  

    Default

    setHideOnClick(false) on the CheckMenuItem should do it

  5. #5
    Ext Premium Member
    Join Date
    Sep 2009
    Posts
    77
    Vote Rating
    0
      0  

    Default

    This fixes part of the issue I have.
    Remember the issue with the submenu being kept visible if the mouse was moving fast enough? I (the client actually) need to have it stay displayed no matter how fast I move the mouse. Is this possible by setting some flag or something?

    Dan

  6. #6
    Sencha Premium Member
    Join Date
    Sep 2007
    Posts
    13,976
    Vote Rating
    131
      0  

    Default

    You can extend Menu and remove the feature that is deactivating an item on mouseout if there is a submenu open. I would wait with this subclass until i have the fix in SVN.

  7. #7
    Sencha Premium Member
    Join Date
    Sep 2007
    Posts
    13,976
    Vote Rating
    131
      0  

    Default

    The change is in SVN now as of revision 2173

Similar Threads

  1. Ext.form.Field hide/show behavior
    By Algorhythm in forum Ext 3.x: Help & Discussion
    Replies: 5
    Last Post: 20 May 2010, 10:53 PM
  2. TabPanel with hide behavior
    By kandy in forum Community Discussion
    Replies: 0
    Last Post: 15 Oct 2009, 5:34 AM
  3. menus that contain submenus disappear
    By newedge in forum Community Discussion
    Replies: 2
    Last Post: 5 Jun 2009, 4:18 PM
  4. Dynamically adding submenus
    By Morris in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 15 Jan 2008, 4:15 AM

Posting Permissions

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