- From: Rob Dodson <notifications@github.com>
- Date: Sun, 08 Oct 2017 17:30:00 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 9 October 2017 00:30:22 UTC
> Currently, the PR for that issue has to completely subvert slotchange and use a MutationObserver because that event doesn't fire when the children are first attached to the host, but only on subsequent updates. @treshugart I think I've sent this your way before, but for the benefit of others on the thread, the above mentioned behavior is changing so `slotchange` will always fire. See https://github.com/whatwg/dom/issues/447. If `slotchange` fired as described in that thread, would that solve this issue? Your custom element would need to at least have a shadow root with a slot, otherwise I think you'd need to depend on a mutation observer. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/619#issuecomment-335049697
Received on Monday, 9 October 2017 00:30:22 UTC