S
S
SolidSnake132020-04-23 15:33:53
JavaScript
SolidSnake13, 2020-04-23 15:33:53

Smooth cross-browser scrolling. How to do?

Used the scrollIntoView and scroll functions before. But both options don't work in Chrome 81. They work in all other browsers.
Interested in native JS or jQuery solutions.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dubolom Unicellular, 2020-04-23
@duboloms

https://codepen.io/duboloms/pen/JjYRvZV Look, there I changed the top property, not the transform property. Therefore, it is not lubricated. I also used the gsap library there - this is an engine for animations

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question