vue-backtotop icon indicating copy to clipboard operation
vue-backtotop copied to clipboard

Does not work well with `html { scroll-behavior : smooth; }`

Open sujan-s opened this issue 6 years ago • 2 comments

The scrolling back to top becomes extremely slow if you have the following rule in your CSS— html { scroll-behavior : smooth; }.

It takes about four seconds to scroll back to the top with this CSS rule.

sujan-s avatar Nov 18 '18 15:11 sujan-s

Hey @sujan-s, Thank for the feedback and sorry the delay for answer!

Adding html { scroll-behavior : smooth; } cause some delay on scroll. I'll check this and try to find some solution.

Feel free to create a pull request if you has some idea.

caiofsouza avatar Nov 27 '18 12:11 caiofsouza

Yeah! I have the same problem. It's been 3 years but author not fix them yet :)))))))

TienTruong9x avatar Sep 17 '21 07:09 TienTruong9x