Files
angular/devtools/projects
Shuaib Hasan Akib 242efd110f fix(devtools): stop zoom transition when disposing the tree visualizer
Snapping to a node starts a 500ms d3 zoom transition that was not
interrupted on dispose. If the tree visualizer is destroyed mid-transition,
d3-zoom keeps reading the size of the now detached SVG and throws
`NotSupportedError: Failed to read the 'value' property from 'SVGLength'`.

Interrupt any running transition in `dispose()`.

Tested with the router tree spec running zoneless (next commit), which fails
with the error above without this change.
2026-11-12 08:15:51 -08:00
..