Side navigation
#11603 closed bug (invalid)
Opened April 18, 2012 09:07PM UTC
Closed May 25, 2012 08:16AM UTC
.animate() bug in IE 6,7,8
Reported by: | gpk_urmc | Owned by: | gpk_urmc |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.7.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
There is a bug with calling .animate() under certain circumstances in IE 6,7, and 8.
You can see an example on this page:
http://codecanyon.net/item/paradigm-slider-jquery-plugin/full_screen_preview/829647
Mouse over, then out of the "Dark Style" slider.
An error occurs in jquery.js at line 8988 character 5.
In jQuery source, this is Line 8826:
fx.elem.style[ fx.prop ] = fx.now + fx.unit;
The call stack goes back to this call:
e.cssAnimate({left:0-g.slideFactorX+"px",top:0-g.slideFactorY+"px"},{duration:200,queue:false});
where obj.slideFactorX and obj.slideFactorY are both zero.
Attachments (0)
Change History (5)
Changed April 18, 2012 09:11PM UTC by comment:1
owner: | → gpk_urmc |
---|---|
status: | new → pending |
Changed April 27, 2012 09:10PM UTC by comment:2
This is not a bug.
I had this issue, when I calculated .animate() properties based on some css values. In IE6-8, those values were simply set to "auto", while in other browsers they were "0px".
I solved this by explicitly setting the needed style property in css file.
Changed May 10, 2012 03:25PM UTC by comment:3
I would argue that it should still be considered a bug. If frameworks like jQuery are meant to simplify development, that means providing standard responses across platforms and browsers (something jQuery has done a remarkably good job with, considering). If we go back to the old days of accepting browser-specific hacks, then what is the point of all this?
Changed May 10, 2012 03:56PM UTC by comment:4
@brian, patches are always welcome. It will give you a chance to explore the complexity of determining dimensions in oldIE.
Changed May 25, 2012 08:16AM UTC by comment:5
resolution: | → invalid |
---|---|
status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket!
Additionally, be sure to test against the "jQuery (edge)" version to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/FrKyN/
Open the link and click to "Fork" (in the top menu) to begin.