I am struggling to find a solution to completely disable scrolling on the HTML body
. I have experimented with different options, but none seem to work as desired:
overflow: hidden;
did not disable scrolling, only hid the scrollbar.position: fixed;
worked, but it scrolled to the top which is not suitable for this specific application.
Are there any other alternatives that could help achieve this without these limitations?