Easy fix for: Unable to preventDefault inside passive event listener due to target being treated as passive

I’ve had this super-annoying console error come up many times when I’m using Javascripts.

Finally found a cogent explanation for it, and how to fix it…

2 Likes