Open nachogarcia opened 2 years ago
Using this library causes the following performance issue, reported in Google Lighthouse:
Does not use passive listeners to improve scrolling performance
I guess this would be simply fixed by using { passive: true } in https://github.com/ElemeFE/vue-infinite-scroll/blob/775b7d386ff4e609eb3360a4ccecee7d9a015c63/src/directive.js#L108
{ passive: true }
I don't think we would need to pass an option for this since the use for an infinite scroll is not to prevent scrolling.
Using this library causes the following performance issue, reported in Google Lighthouse:
I guess this would be simply fixed by using
{ passive: true }
in https://github.com/ElemeFE/vue-infinite-scroll/blob/775b7d386ff4e609eb3360a4ccecee7d9a015c63/src/directive.js#L108I don't think we would need to pass an option for this since the use for an infinite scroll is not to prevent scrolling.