- From: gitspeaks via GitHub <noreply@w3.org>
- Date: Thu, 14 Aug 2025 19:12:21 +0000
- To: public-css-archive@w3.org
gitspeaks has just created a new issue for https://github.com/w3c/csswg-drafts: == [resize-observer] Add option to skip firing on initial observe == `observe()` always triggers the callback once with the current size. This makes it impossible to pause and resume without extra logic to ignore that first call. For example, if we want to explicitly change an element’s size and not have the callback fire, we cannot simply `unobserve()` and then `observe()` again - the re-observation will still trigger the callback. Proposal: Add a boolean option to `ResizeObserverOptions` to suppress the initial callback when starting observation. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12608 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 14 August 2025 19:12:22 UTC