tilt.js
tilt.js copied to clipboard
Lag in chrome based browsers for duration of the value of the speed option
Has anybody been experiencing lags on chromium based browsers?
chrome:
safari:
Did you by accident perhaps put a css transition (delay) on the tilt element itself?
No, that's not it. I'm getting the same behaviour on http://gijsroge.github.io/tilt.js/ and https://openai.com/
In all cases I am NOT able to consistently produce this behaviour. 10% if the time, when a page has been loaded for a while, tilt will work without lag.
One difference being that on your site the lag occurs for the duration of the speed-value, where as on openai.com the lag stays indefinitely.
As you are experiencing it on both sites, its probably a local issue because openai is not using tilt.js. I'm really not sure what it could be, sorry.
I had the same problem with lagging, after inspection I found out that I'm having a transition all
on the same element as tilt.js, after removing the transition, lagging got better a lot, remember that the css property may be inherited, in my case the designer felt that it would give the website an artistic feel if he applies a transition to all element