I have a react project that calls an api. I want to scroll to the responses that are stored in a div when they are done loading. Where do I find the x and y coordinates of this div in order implement this?
Asked
Active
Viewed 8 times
0
-
Does this answer your question? [Retrieve the position (X,Y) of an HTML element](https://stackoverflow.com/questions/442404/retrieve-the-position-x-y-of-an-html-element) – jon37 May 19 '22 at 16:05