Re: [csswg-drafts] [resize-observer] Notification after element is no longer referenced (#5155)

> current implementation of ResizeObserver in Google Chrome (v109.0.5414.87) will keep the ResizeObserver around even when the element has been removed from the DOM

RO will be retained only if there are JavaScript references to the observed elements, or RO. In your example, I believe that an RO callback has a component reference in its closure. That's what keeps the observation alive.

-- 
GitHub Notification of comment by atotic
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5155#issuecomment-1382387212 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 13 January 2023 21:07:24 UTC