lcdsantos / jQuery-Selectric

jQuery plugin for easy manipulation and customization of HTML selects
http://selectric.js.org/
MIT License
727 stars 157 forks source link

preventDefault error: [Chrome] Unable to preventDefault inside passive event listener due to target being treated as passive. #246

Open RobbDeveloper opened 4 years ago

RobbDeveloper commented 4 years ago

While using Google Chrome i got an error:

[Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See

I actually fixed this by removing all the uses of preventDefault() function in selectric plugin. I don't know why, but it works.

fhferreira commented 3 years ago

+1

fhferreira commented 3 years ago

The error occurs when we "scroll" with mouse inside the Drop-down

maxim-torba commented 3 years ago

do you have any ideas how to fix it?

fhferreira commented 3 years ago

do you have any ideas how to fix it?

I actually fixed this by removing all the uses of preventDefault() function in selectric plugin. like @Robb110

maxim-torba commented 3 years ago

do you have any ideas how to fix it?

I actually fixed this by removing all the uses of preventDefault() function in selectric plugin. like @Robb110

sounds not cool)

fhferreira commented 3 years ago

do you have any ideas how to fix it?

I actually fixed this by removing all the uses of preventDefault() function in selectric plugin. like @Robb110

sounds not cool)

but solved the problem, I remove only one "preventDefault" in my source

brandontravis commented 3 years ago

Is there a fix that keeps the scrolling behavior of preventdefault in tact?