#Element losing .getBoundingClientRect() properties

6 messages · Page 1 of 1 (latest)

brave chasm
#

[see images]
anyone know why it becomes 0?
theres really no specific information i can give you. thats as much as i know. the element does change but it stays in the same parent element

#

this is when its stationary

#

and this is when its being dragged

#

i dont know much about .getBoundingClientRect() so any type of information on it and why the values could possibly be 0 will help

#

stationary:

#

being dragged: