Other scrolls, such as those performed by the user, are not affected by this property.
object.style.scrollBehavior = "value";
<'scroll-behavior'> = auto | smooth
The scrolling box is scrolled in an instant fashion.
The scrolling box is scrolled in a smooth fashion using a user-agent-defined timing function over a user-agent-defined period of time.