how can i achieve smooth scrolling ?
scroll-behavior css property could be the solution :)
can i use scroll-behavior
don't have good browser coverage 馃槦
Hi, I have the same problem, I was trying with https://github.com/malte-wessel/react-custom-scrollbars/issues/13 but success was only partially because if I was using SpringScrollbars and any onScroll method with animating scrollTop I had a infinite loop problem, because this aminated smooth scroll triggers next onScroll event up to bottom of page. Is there any solution to achieve sth like this: http://idiotwu.github.io/smooth-scrollbar/ or this: https://codepen.io/souporserious/pen/zGgvjK ?
this.scrollbars.view.scroll({
top: 1000,
left: 0,
behavior: 'smooth'
});
Most helpful comment
this.scrollbars.view.scroll({
top: 1000,
left: 0,
behavior: 'smooth'
});