How do I stop scroll Behaviour?
To do this (in Chrome, Firefox, and Edge), we can add the CSS property overscroll-behavior: contain to the overflow: auto element. This will prevent the "scroll chaining" behavior, which will, in turn, keep the mouse-wheel active within the target element.
How do you scroll inside an element?
scroll() The scroll() method of the Element interface scrolls the element to a particular set of coordinates inside a given element.