Search and Top Navigation
#4839 closed bug (duplicate)
Opened September 04, 2009 11:04PM UTC
Closed March 27, 2011 01:35PM UTC
Last modified March 27, 2011 01:35PM UTC
Slide effect causes scripts re-evaluation in affected area
Reported by: | nbelaevski | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.effects.* (individual effect) | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Usage of "slide" effect causes re-evaluation of all scripts in the animated area and this leads to re-creation of JavaScript objects, re-attaching event handlers, etc with undesired side effects. This problem affects number of our components (e.g. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253686#4253686 and is major for us, as we are going to fully migrate to jQuery in the near future).
Please see attached test case: alert should not be called if "Click me!" is clicked. Here is the line of jQuery.UI that causes the problem:
element.wrap('<div class="ui-effects-wrapper" style="font-size:100%;background:transparent;border:none;margin:0;padding:0"></div>');
Attachments (3)
Change History (6)
Changed November 16, 2009 12:47PM UTC by comment:1
milestone: | TBD → 1.8 |
---|
Changed November 16, 2009 12:47PM UTC by comment:2
component: | ui.core → effects.* (individual effect) |
---|
Changed November 18, 2009 10:40PM UTC by comment:3
This also affects other effects such as "drop" and "scale".
Changed November 18, 2009 10:42PM UTC by comment:4
Note: These 3 are the only effects I tried and they are all affected.
Changed March 27, 2011 01:35PM UTC by comment:5
resolution: | → duplicate |
---|---|
status: | new → closed |