Opened 15 years ago
Closed 13 years ago
#2542 closed bug (fixed)
Callbacks are not triggered on animated methods with a speed of 0
Reported by: | DanSwitzer2 | Owned by: | flesler |
---|---|---|---|
Priority: | major | Milestone: | 1.4 |
Component: | effects | Version: | 1.2.3 |
Keywords: | animate show hide callback | Cc: | DanSwitzer2 |
Blocked by: | Blocking: |
Description
If you have a callback defined to any of the jQuery FX and there's a 0 speed specified, then the callback is never triggered.
This is a problem when developing plug-ins that are allowing the user to specify the FX to run when making elements visible. If user wants to immediately have the element shown (by specifying a speed of 0,) then any defined callback does not run.
Attachments (2)
Change History (7)
Changed 15 years ago by
Attachment: | jquery_animate_0_bug.htm added |
---|
comment:1 Changed 14 years ago by
Owner: | set to flesler |
---|
Changed 14 years ago by
Attachment: | fix_2542.diff added |
---|
Possible fix for Ticked #2542 (still need confirmation)
comment:2 Changed 14 years ago by
I added a possible fix for this problem. I haven't tested it yet. Since I don't seem to be able to compile jQuery on this machine.
comment:3 Changed 13 years ago by
Cc: | DanSwitzer2 added |
---|---|
Milestone: | 1.2.4 → 1.3.3 |
need: | Review → Commit |
Status: | new → assigned |
comment:5 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
An example that shows the bug