tilt.js icon indicating copy to clipboard operation
tilt.js copied to clipboard

Lag in chrome based browsers for duration of the value of the speed option

Open syrkis opened this issue 6 years ago • 4 comments

Has anybody been experiencing lags on chromium based browsers?

chrome: chromium

safari: safari

syrkis avatar Apr 09 '18 11:04 syrkis

Did you by accident perhaps put a css transition (delay) on the tilt element itself?

gijsroge avatar Apr 09 '18 15:04 gijsroge

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.

syrkis avatar Apr 10 '18 08:04 syrkis

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.

gijsroge avatar Apr 13 '18 18:04 gijsroge

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

mohas avatar Jun 28 '18 16:06 mohas