mirror of
https://github.com/angular/angular.git
synced 2026-11-22 22:55:25 -05:00
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.