SIGN IN SIGN UP

[DOM] Copy `source` onto the synthetic toggle event (#37389)

`ToggleEvent` carries a `source` property pointing at the control that
opened or closed a popover, but `ToggleEventInterface` only lists
`newState` and `oldState`, so the synthetic event never copies it. An
`onToggle` handler reads `event.source` as `undefined` even when the
native event has it.

Adding `source` to the interface copies it off the native event the same
way `newState` and `oldState` are copied.
L
Lazizbek Ergashev committed
29d9d3184484b03cb0369e0494617207df777b7a
Parent: 269bd40
Committed by GitHub <noreply@github.com> on 8/26/2026, 7:45:29 PM