fix: Error when a zoomable element is removed during zoom initialization (#2624)

- Closes: #2410
This commit is contained in:
Dermot Duffy
2026-07-26 20:54:07 -07:00
committed by GitHub
parent ad89aa9538
commit 231e3087b7
4 changed files with 12 additions and 7 deletions
@@ -655,6 +655,9 @@ describe('ZoomController', () => {
controller.activate();
expect(controller.isActivated()).toBe(true);
controller.deactivate();
expect(controller.isActivated()).toBe(false);
});
it('should not zoom or pan when zoom is disabled', () => {