Access Dimensions of Element set to Auto Height/Width

Is there somewhere for me to access the current height or width of an element that has its Height/Width set to Auto?

Hey, what is the reason you need to access it?
The option is available with the scroll feature (which also allow to follow width and height), but i think this is a beta only in production for now

I want to set the properties of another element relative to the primary element’s (variable) dimensions.

I figured out a way around this for now thanks @aurelie so I will close this question.

Hey Dorian! Could you give me any insight on this? Looking for same solution