K
K
Kind0fHeaven2019-05-14 14:04:52
css
Kind0fHeaven, 2019-05-14 14:04:52

What could be the problem with animation on mac OS?

Hello
Tell me, please, what could be the problem of animation freezes on macos? On windows it works correctly, but on a poppy everything lags
Here is a link to the site (Animations of transition from page to page and between screens)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Bogachev, 2019-05-14
@sfi0zy

It immediately catches your eye that when you scroll, you animate the top property. When switching between pages in scripts, there are constant calls to the inner*/outer*/offset*/client* properties (everything is minified, not parsed), as well as changes in the values ​​of left, height, and possibly something else. This all causes multiple page layout rebuilds and performance issues. I recommend reading the article on the topic .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question