You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the entries of the ResizeObserver we have the contentRect and/or borderBoxSize.
For our application we need to call code when the offset and size of a Element has changed.
But sadly the ResizeObserver is not called when the position has changed.
For us it would be nice if I could add an option to observe the offset, too.
Observing the attributes with MutationObserver and checking a diff in all boundingRects has the downside of forced reflow in many cases.
ref #3550 where delivering offsets was rejected, as they are not observed.
The text was updated successfully, but these errors were encountered:
In the entries of the ResizeObserver we have the contentRect and/or borderBoxSize.
For our application we need to call code when the offset and size of a Element has changed.
But sadly the ResizeObserver is not called when the position has changed.
For us it would be nice if I could add an option to observe the offset, too.
Observing the attributes with MutationObserver and checking a diff in all boundingRects has the downside of forced reflow in many cases.
ref #3550 where delivering offsets was rejected, as they are not observed.
The text was updated successfully, but these errors were encountered: