T
T
tempick2018-02-01 06:45:16
css
tempick, 2018-02-01 06:45:16

Why does the image jerk when scrolling?

travel-spy.ru
When scrolling down and then up again, the slider bar (the topmost large one) twitches. I can't figure out why, which property affects it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kreotech, 2018-02-01
@tempick

Because of this: https://c2n.me/3RwX3LJ
You have a sticky menu at the top, when the scroll moves a little down, the background immediately jumps by 65 pixels.
You can fix it like this: https://c2n.me/3RwX9BD , https://c2n.me/3RwXaKc
I did not check adaptations for small screens. This will have to be checked by yourself.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question