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

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