Screen Freezes for sap.m.ViewSettingsDialog with more than 5000 Items
OpenUI5 version: 1.124
Browser/version (+device/version): Chrome 128.0.6613.27
Any other tested browsers/devices(OK/FAIL): FAIL
URL (minimal example if possible):
User/password (if required and possible - do not post any confidential information here):
Steps to reproduce the problem:
- Implement a sap.m.ViewSettingsDialog control.
- Add more than 5000 Filter Items to the Control.
- Now Open the Dialog, the browser screen freezes. Even if you click on cancel button instead of applying any filter, the screen freezes.
What is the expected result? Ideally, the screen freeze should not be there.
What happens instead? The browser screen freezes.
Any other information? (attach screenshot if possible)
Hello @HatriGt ,
Thank you for reaching out!
Could you please provide an isolated example where we can reproduce the issue and examine it.
Best regards, Yana
Hi @yanaminkova,
Please find the sample example snippet here . Click on Filter button and try to open the first filter field and click back button. Now close the dialog. You will experience the delay or screen freeze.
Hello @HatriGt,
Thank you for sharing this finding. I've created an internal incident DINC0246294. The status of the issue will be updated here in GitHub.
Regards, Yana
Hello @HatriGt ,
Thank you for your finding. Unfortunately ViewSettingsDialog control is designed to handle limited amount of filter items (up to 100 or something), and it can be expected it will freeze with 5000+. For cases like yours you can implement different method of filtering. For more information see here: https://experience.sap.com/fiori-design-web/view-settings-dialog/#usage
Best Regards, Nikolay Hristov