Found the root cause of this issue. I'm on JQuery.UI (rc6)

Line 175 on ui.dialog.js, inside the close method of the dialog, the
overlay.destroy() gets called.
(this.overlay && this.overlay.destroy());

This method is taking between 5-7 seconds on the browsers I've
checking on. Here's the benchmark helper method I'm using:
http://gist.github.com/58016

Digging deeper in overlay.destroy, I find this somewhat ridiculous
line of code:
$('a, :input').add([document, window]).unbind('.dialog-overlay');

That'd be the root of all the problems. So we are unbinding ".dialog-
overlay" on all the elements of the page. Is there a more efficient
way to run this specific query? Or is there a workaround here?



On Feb 3, 2:57 pm, fehays <[email protected]> wrote:
> > By this, I simply meant to stop using them.
>
> I see.  I'm having the problem and I'm not using live events (at least
> not directly).
>
> > Still, shouldn't someone look into what causes IE7 to take 400 ms
> > where the others take between 10 and 50 ms??
>
> I believe so, yes.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to