New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filter transition is not working in Chrome/Opera #366
Comments
Yeap. We need special hack for this case. As quick hack you can write: transition: -webkit-filter ease-in-out 1s, filter ease-in-out 1s; I try to fix it on next week. |
Released today in 5.1 |
Hi, i'm having an issue with transition and filter as well. My stack is:
SCSS source:
CSS output:
Am i missing something? |
Seems like some old webkit becoome more popular and returned to selection. |
Thanks for the reply, so how do i have to tweak the browser support to get the right output?
|
This is a hot fix. Later I try to find some better solution. |
Would it be an acceptable solution to put the
|
Nope, because it broke Autoprefixer clean. var prefixed = autoprefixer.process(origin).css;
var clean = autoprefixer({ browsers: [] }).process(prefixed).css;
clean == prefixed; It important for text editor plugins for example. People in text editor can call Autoprefixer twice on same CSS. |
Hm, and using -webkit-filter everywhere filter is used?
The issue is that it breaks |
I'm still seeing this issue. http://codepen.io/cvn/pen/oXGYBO I'll use the workaround for now. |
Perhaps the issue should be re-opened? The only way to get it working is to use the workaround, but I believe the bug still exists? |
@zanona what browser exactly you use and what input send to Autoprefixer? |
Hey @ai, I am using Safari 8.08 with a similar input as @miroslavraska. .element {
transition: filter .3s;
transition: -webkit-filter .3s, filter .3s; /*work-around*/
} I hope this helps. |
We must be support other properties: input: .foo {
transition: filter 2s, backdrop-filter .36s;
} output: .foo {
-webkit-transition: -webkit-filter 2s, -webkit-backdrop-filter .36s, filter 2s, backdrop-filter .36s;
transition: -webkit-filter 2s, -webkit-backdrop-filter .36s, filter 2s, backdrop-filter .36s;
} |
@ai I think there are more similar properties. |
@yisibl yeap, I think we should use |
Use: input: .foo{
transition: transform 1s;
} output: .foo {
-webkit-transition: transform 1s;
transition: transform 1s;
} right? |
Right :) |
http://jsbin.com/gawijotoqu/edit?html,css,output This is not work in old WebKit. |
I add |
I close it, because we have #511 |
is converted to
and it seems that the second transition overwrites the first one with -webkit prefix which is needed for Chrome and Opera to work properly.
Example with generated autoprefixer CSS (transition not working):
http://jsfiddle.net/q9fjt04f/
Example with second transtion removed (transition working):
http://jsfiddle.net/6fxfhuu9/
Tested on Chrome 39 + Opera 26.
The text was updated successfully, but these errors were encountered: