Open methoil opened 2 years ago
Hey I have the same issue, any updates on this?
I haven't had this warning pop up for me. If possible could one of you guys please add a replication link and browser details? I'll try take a look at this next week.
Any event listener that listens to events and does not prevent the event from actually firing (such as scroll listeners) should always be added with { passive: true }
. See: https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener
I am working on a project that is using this library, and I am seeing this warning in the console for each instance of the Drag component. I don't notice any problems with scrolling on the page but I was wondering if it could be causing some performance issues. I actually see this warning in the demo page as well so is it expected? I don't see any way to mark the event as passive via the component interface.