1. #1
    Ext User
    Join Date
    Jan 2008
    Location
    Delhi, India
    Posts
    8
    Vote Rating
    0
    jitensachdeva is on a distinguished road

      0  

    Default Calculating Menu region

    Calculating Menu region


    Hi All,

    I am trying to implement menu hide functionality on mouseout. I am using "mouseout" event to do the same. I am hiding menu by using -

    Code:
    //m is menu
    if (!m.activeItem && !m.getEl().getRegion().contains(e.getPoint())) {
    		m.hide(true);
    }
    The problem with this code is that whenever I move the mouse slowly outside menu boundaries, the menu doesn

  2. #2
    Sencha - Training Team RWaters's Avatar
    Join Date
    Mar 2007
    Location
    Los Angeles, CA
    Posts
    714
    Vote Rating
    0
    RWaters is on a distinguished road

      0  

    Default


    Can you remove the check to see if the region contains the point? Sounds like it might solve the issue.

  3. #3
    Ext User
    Join Date
    Jan 2008
    Location
    Delhi, India
    Posts
    8
    Vote Rating
    0
    jitensachdeva is on a distinguished road

      0  

    Default


    Thanks for your response

    Quote Originally Posted by RWaters View Post
    Can you remove the check to see if the region contains the point? Sounds like it might solve the issue.
    If I remove the check the menu vanished even if I move mouse from one item to another. Similarly If I move mouse into the submenu the menu vanished.

    The root cause which I can see is that menu region is including shadow width . I have made shadow parameter false. Seems like a small bug in getRegion function of menu.

    Cheers !
    Jiten

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar