telerik / kendo-angular

Issue tracker - Kendo UI for Angular
http://www.telerik.com/kendo-angular-ui/
Other
463 stars 213 forks source link

[Map] Zoom-related events triggered multiple times when updating` zoomable` at runtime #4327

Open mbechev opened 3 weeks ago

mbechev commented 3 weeks ago

Describe the bug The zoom-related events (zoomChange, zoomStart, zoomEnd) are triggered multiple times if the zoomable property value is updated dynamically.

To Reproduce

  1. Zoom in/out to see the initial zoom level of the wheel.
  2. Click the button to disable the zooming feature.
  3. Click the button to enable it back.
  4. Zoom in/out. Now the map is zoomed out at different levels because of the multiple event trigger.

https://stackblitz.com/edit/angular-24cesj