Opened 10 years ago
Closed 10 years ago
#12399 closed bug (notabug)
Fade fails if target does have css3 transition properties
Reported by: | ALaguna | Owned by: | gnarf |
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | effects | Version: | 1.8.0 |
Keywords: | Cc: | gnarf | |
Blocked by: | Blocking: |
Description
Hi there,
I've just updated jQuery to 1.8.0 from 1.7.2 in one of my projects and suddenly realized that fadeIn transition weren't working good.
Basically if the target class or ID does have a CSS3 transition property for opacity it just appear or disappear but does not fade.
In the previous version, the fadeIn, fadeOut just worked fine taking the animation from the one specified in the transition.
I've prepared two jFiddles:
1.8 version: http://jsfiddle.net/ALaguna/sW38M/1/ 1.7.2 version: http://jsfiddle.net/ALaguna/sW38M/2/
Change History (9)
comment:1 Changed 10 years ago by
comment:3 Changed 10 years ago by
Cc: | gnarf added |
---|---|
Component: | unfiled → effects |
Priority: | undecided → low |
comment:5 Changed 10 years ago by
Owner: | set to gnarf |
---|---|
Status: | new → assigned |
comment:9 Changed 10 years ago by
Resolution: | → notabug |
---|---|
Status: | assigned → closed |
It might be easier to just close this wontfix. Why combine a jQuery fadeIn with a CSS transition?
In any case I suspect the problem is due to the .hide()
on an element that isn't yet in the DOM. That isn't a well-defined situation.
For now I'll close this as notabug and you can make the case for why it is.
My experience is that fadeIn works with 1.7.2, but does NOT work with 1.8.0 . My CSS is NOT using the transition property for either version.