Gets the Y distance of the element from the top of the document without regard to any transforms applied.
const top = dom.getScrollTopWithoutTransforms(el); window.scroll(0, top); Copy
const top = dom.getScrollTopWithoutTransforms(el); window.scroll(0, top);
Gets the Y distance of the element from the top of the document without regard to any transforms applied.