inuyaksa / jquery.nicescroll

nicescroll plugin for jquery - scrollbars like iphone/ipad
https://nicescroll.areaaperta.com/
3.6k stars 1.67k forks source link

Vertical scrool freezer the browser #768

Open dhecar opened 5 years ago

dhecar commented 5 years ago

Hi, i'm an user of odoo (ERP,CRM) software. I'm using a module that has this library included to perform moviments in mobile platforms, this is the module --> https://github.com/it-projects-llc/pos-addons/tree/10.0/pos_mobile

I on of the scrool coded here the browser get to much violations and the browser go down. I think the problem if with this library because the line that make the violation in the browser is in that library, in concret line 2546
(passiveSupported && active) ? el.addEventListener(name, fn, { passive: false, capture: bubble }) : el.addEventListener(name, fn, bubble || false);

this is the browser log:

capture

Is this a bug, or an error in the pos_mobile module that i use?

Thanks

inuyaksa commented 5 years ago

Nicescroll code it's not so much on-the-edge as browser required, but I think your issue it's more related to event bind on application side. (I'm working on it) Sorry I can't support for your software. Try to comment some bind on wheel to detect evil code area.