I accidentally discovered that scrollTop
, and scrollLeft
on an element work even when an element is overflow: hidden
. Can this behaviour be relied on?
Supposedly scrollTop, and scrollLeft are supposed to be zero for elements without scrollbars, and setting them on such elements is supposed to have no effect.
transition/animation
ontransform
, but it has it's simplistic use anyways. – Akkad