react prevent scroll to top code example
Example: make a button who disable scrolling down the page react
.container::-webkit-scrollbar { display: none; }.container { -ms-overflow-style: none; }
.container::-webkit-scrollbar { display: none; }.container { -ms-overflow-style: none; }