You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @mauriciolauffer ,
Thank you for sharing this finding. I've created an internal incident 1880716535. The status of the issue will be updated here in GitHub.
Regards, Diana
@mauriciolauffer In the example I can see two different places where the warning is triggered from.
One in the general event handler within sap/ui/core/UIArea and one within sap/m/SearchField.
The one in the SearchField can't be changed as the handler calls "preventDefault" (see
The one in UIArea is using jQuery, which is currently not even capable of using "passive:true" (see jquery/jquery#2871). And even when we would switch to native events (which doesn't seem to be straight-forward), we would need to know whether any of the event handlers requires to call "preventDefault".
So I don't see any easy solution to this. Closing this as "wontfix" but I'm open for any other ideas or feedback. Maybe I missed something here.
OpenUI5 version: all
Browser/version (+device/version): Google Chrome
URL (minimal example if possible):
https://openui5.hana.ondemand.com/test-resources/sap/m/demokit/master-detail/webapp/test/mockServer.html
Steps to reproduce the problem:
What is the expected result?
Message "Does not use passive listeners to improve scrolling performance" should not be listed.
What happens instead?
Message "Does not use passive listeners to improve scrolling performance" is listed.
Any other information? (attach screenshot if possible)
![image](https://user-images.githubusercontent.com/443888/48169188-5d758980-e346-11e8-84d7-7c9389902b94.png)
https://developers.google.com/web/tools/lighthouse/audits/passive-event-listeners
The text was updated successfully, but these errors were encountered: