Sorry if you found this question repetitive, but I could not find the correct answer on StackOverflow.
I use the following properties in my css class:
.panel{ background: rgba(203, 203, 210, 0.15); position: relative; float: right; ... overflow: auto; }
When I use the function $('body').animate({scrollTop: 10}, 500); JQuery to scroll up the page, it does not work. When I replace the value of auto with something like "visible" or "inherit", it works. However, the page structure requires an overflow property.
Any idea?
source share