get-node-dimensions
get-node-dimensions copied to clipboard
Top is not implemented correctly, or not working (scroll top)
Is there any way you can provide a scroll aware modification?
For example, if you get the element's top
, you get 200. If you scroll down, the top
returned is offset by the scroll position.
You can reproduce this by copying the dimensions provided and creating a new div element on the page.