Closed Sa7aR-Kassem closed 5 days ago
@Sa7aR-Kassem
Are you sure you are testing Lighthouse for your website in an incognito mode, and there are no chrome plugins added?
Are you referring to the JS code of aegov-scripts or to the custom code that you have added?
Passive listeners as a warning or error would be added to "Best Practices" section of Lighthouse. I'm attaching a screenshot of a website in incognito mode, with no chrome plugins added, tested from within the UAE, using version 2.2.5 of the design system. There is no such reported issue of Passive Listeners.
Closing this as this is not a bug
Take a moment to review - is it really a bug? Or is it more of an enhancement or a typo in the documentation? A Bug is code that is broken, or when you try to implement a certain piece of code that is mentioned in the documentation, you have a result that is not the same as described.
Now if you are absolutely sure it is indeed a bug, please fill in the following template.
Mention what part of the design system the bug is related to Is the bug part of a "Component", a "Block", the "Plugin" itself or something else? Ideally, your choice has to be one of the 3 items.
More context in relation to the design system If the bug is part of a component or a block, please mention which one. If the bug is related to the plugin, please mention if it is during installation, compiling or configuration.
Describe the bug A clear and concise description of what the bug is. Help us understand what you are doing that is causing an error.
To Reproduce Steps to reproduce the behaviour:
designsystem.min.js
. Learn more about adopting passive event listeners.Expected behaviour A clear and concise description of what you expected to happen.
A bit more context about the browser
Additional context Add any other context about the problem here.