As you know, d3 from 6 version has removed d3.event global, then zooming produces an exception "Cannot read property 'transform' of undefined" because it uses var transform = _d3Selection.event.transform;(First image)
Dragging produces "Cannot read property 'undefined' of undefined" exception(Second image)
To Reproduce
Steps to reproduce the behavior:
Use zoom/drag functionalities
Describe the bug
As you know, d3 from 6 version has removed d3.event global, then zooming produces an exception "Cannot read property 'transform' of undefined" because it uses var transform = _d3Selection.event.transform;(First image)
Dragging produces "Cannot read property 'undefined' of undefined" exception(Second image)
To Reproduce Steps to reproduce the behavior: Use zoom/drag functionalities
Expected behavior Zooming in/out with-out exception
Screenshots
Environment:
Additional context Related to issue #365 and Pull request #380