SIGN IN SIGN UP

[DOM] Scope Fragment once listeners to the fragment, not each child (#37169)

`{once: true}` events are supposed to fire once. Since the
`addEventListener` implementation adds a listener to each host child,
`once` was not respected if you trigger event on multiple children.

Here we wrap the event so we can remove is after the first call
J
Jack Pope committed
beef6d60f46a97f5c20471df81760fcf365d63ef
Parent: 9880384
Committed by GitHub <noreply@github.com> on 8/13/2026, 2:11:09 PM