#4839 closed bug (duplicate)
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 (9)
Changed 10 years ago by
Attachment: | slide.html added |
---|
comment:1 Changed 10 years ago by
Milestone: | TBD → 1.8 |
---|
comment:2 Changed 10 years ago by
Component: | ui.core → effects.* (individual effect) |
---|
comment:3 Changed 10 years ago by
comment:4 Changed 10 years ago by
Note: These 3 are the only effects I tried and they are all affected.
comment:5 Changed 9 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
This also affects other effects such as "drop" and "scale".