Closed shaigem closed 3 years ago
If there are multiple Panzoom controls that have a custom wheel listener on a single page, they won't get properly removed/disposed.
Panzoom
element.parentElement.addEventListener('wheel', this.boundWheelListener = this.wheelHandler.bind(this, dotnetReference))
The boundWheelListener should keep track of multiple listeners instead of just being set to the latest one.
boundWheelListener
If there are multiple
Panzoom
controls that have a custom wheel listener on a single page, they won't get properly removed/disposed.The
boundWheelListener
should keep track of multiple listeners instead of just being set to the latest one.