vuetifyjs / nuxt

Nuxt.js + Vuetify.js starter project template.
MIT License
306 stars 109 forks source link

[Bug Report] Use passive listeners to improve scrolling performance #88

Open ahmedfaical opened 5 years ago

ahmedfaical commented 5 years ago

Versions and Environment

Vuetify: 2.0.0-alpha.19 Vue: 2.6.10 Browsers: Chrome 74.0.3729.131 OS: Mac OS 10.14.2

Steps to reproduce

Use vuetify with nuxt with a scroll to top functionality juste like vuetifyjs.com

Expected Behavior

Add passive to scroll event listener

Actual Behavior

When i generate report in lighthouse i get this report : Does not use passive listeners to improve scrolling performance (Consider marking your touch and wheel event listeners as passive to improve your page's scroll performance.) https://developers.google.com/web/tools/lighthouse/audits/passive-event-listeners?utm_source=lighthouse&utm_medium=extension

Reproduction Link

https://codepen.io/anon/pen/WBGyMQ