1. #1
    Ext User
    Join Date
    Mar 2007
    Posts
    108
    Vote Rating
    0
    pomata is on a distinguished road

      0  

    Default element hide hide show bug

    element hide hide show bug


    Hi I have:

    Code:
    var el = getEl('main');
    el.hide();
    el.show(true,2.0);
    if you try to fire this code multiple times in IE7, it will stop showing the element

    I´ve fixed with the following
    Code:
    var el = getEl('main');
    el.hide();
    el.show(true,2.0,el.dom.style.visibility = "");
    regards

  2. #2
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    17
    jack.slocum will become famous soon enough jack.slocum will become famous soon enough

      0  

    Default


    show() with an animation is an asynchronous action. If you fire it multiple times before the animation is complete, you will get multiple animations trying to modify the styles (opacity and visibility) at the same time. This is probably causing concurrency issues.

    el.show(true,2.0,el.dom.style.visibility = "");
    That is not a callback and is instead being called immediately. While it may work to fix your synchronization issue, having it within the function call doesn't make a lot of sense.

Similar Threads

  1. Element.show() and hide()
    By thejoker101 in forum Ext 1.x: Help & Discussion
    Replies: 5
    Last Post: 5 Jan 2008, 5:24 AM
  2. How to show/hide ytb-text, and ytb-sep element?
    By franklt69 in forum Ext 1.x: Help & Discussion
    Replies: 4
    Last Post: 3 Jan 2007, 5:45 AM
  3. Show/Hide element doesnt work well with css?
    By TommyMaintz in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 29 Dec 2006, 11:04 AM
  4. Show and Hide.....
    By genius551v in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 15 Nov 2006, 9:41 PM

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