If this CSS hack doesn't remove it in your case, you probably need to use JS to handle the scroll.
I would strongly recommend this because users expect scrolling to behave in a certain way. Not to mention the fact that it is very difficult to make the JS scroll be smooth and be as responsive as the natural scroll.
I donβt know what you are building, so, of course, this may not be relevant to your business, but you should (as always, if you have no good reason against it) leave general interactions like this one to To avoid confusion with the user. Your customers may not like it, but this is what their users expect, and this should be more important.
source share