Share Posted January 20 I don't have a demo as this is more of a general question. I have a site using Observer to control a few things on the page, such as when a header appears or disappears depending on scroll direction. In Google's Lighthouse, I get this feedback: Quote Consider marking your touch and wheel event listeners as `passive` to improve your page's scroll performance. Learn more. The link - https://developer.chrome.com/docs/lighthouse/best-practices/uses-passive-event-listeners/?utm_source=lighthouse&utm_medium=devtools - Suggests that the 'passive' flag should be added to scroll event listeners. Is there a way that Observer could be modified to comply with this Lighthouse report issue? Has this been discussed elsewhere? This isn't something critical for me but I have some clients that are passionate about their lighthouse score so would be good to come back to them with further information if this cannot be changed. Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now