jaames/iro.js

Bug: IE11 mouseup events

michaelfarrelly opened this issue · 1 comments

IE11 mouse up events are not removed fully, related to older issue #58:

https://github.com/jaames/iro.js/blob/master/src/ComponentWrapper.tsx#L95

Recommend change from MDN:
from: document.removeEventListener(event, this);
to: document.removeEventListener(event, this, { passive: false });

This matches the addEventListener options.

good catch! should be fixed in the next release (5.3.2)