Repository navigation
Commit 63293cf
committed
fix: retire event owners before DOM detach in batchClearItems
batchClearItems detached row DOM before calling retireEventOwner, so
synchronous focusout during removal could still reach those rows'
handlers. Under a staged ViewTransition commit the queued order is the
same, so a published list clear could run a disposed owner and raise
ScopeDisposedError.
Add a retirement pre-pass before the DOM operations, matching the
ordering in both unmountBlockInner and deferRootOwnedListClear which
retire before detach.1 parent fab9c74 commit 63293cf
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44260 | 44260 | | |
44261 | 44261 | | |
44262 | 44262 | | |
| 44263 | + | |
| 44264 | + | |
| 44265 | + | |
| 44266 | + | |
| 44267 | + | |
| 44268 | + | |
44263 | 44269 | | |
44264 | 44270 | | |
44265 | 44271 | | |
| |||
0 commit comments