1. #1
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    4,913
    Answers
    371
    Vote Rating
    179
    slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold

      0  

    Default Answered: Menu gets closed/hidden

    Answered: Menu gets closed/hidden


    I have a button with a menu. The single item in that menu is a panel. The panel has a toolbar with a cycle button in it.

    Clicking on the cycle button's menu would hide the parent menu which I was trying to avoid. Got around that by setting menu.allowOtherMenus = true.

    What I haven't been able to do is to prevent the parent menu from closing when I click on a button in the cycle's menu. Tried swallowing the event 'mousedown' on the cycle menu's el. Tried e.stopEvent() on the cycle menu's el as well as on the menuItem's els. No luck.

    Thoughts?

  2. You could try setting hideOnClick: false for the menu item with the cycle button?

    stevil

  3. #2
    Ext JS Premium Member stevil's Avatar
    Join Date
    Nov 2007
    Location
    Denver, CO
    Posts
    1,045
    Answers
    15
    Vote Rating
    9
    stevil will become famous soon enough

      0  

    Default


    You could try setting hideOnClick: false for the menu item with the cycle button?

    stevil

  4. #3
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    4,913
    Answers
    371
    Vote Rating
    179
    slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold

      0  

    Default


    I'll give that a shot. I hadn't tried it thinking that it would leave my cycle menu open after the click forcing the user to click off of it to close it, but I could be wrong.

    I guess worst case I take my 'menu panel' and remove it from the button's menu's items, drop the menu from the button altogether, and just float > showAt > handle-click-outside-panel-to-hide. Hopefully doing that would work if the hideOnClick doesn't solve it for me.

    Thx for the reply, BTW!

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi