Contacts list is not full on vertical high-resolution monitor
Describe the bug
On my vertical WQHD monitor (1440x2560 pixels) the contact list is not filled to the end of the monitor:
It should be simple to fix: Just create more <div role="listitem" class=""><div class="contacts-list__item-wrapper"></div></div> items in the list (I guess it is done by php). I would do it, but I suck at PHP.
Steps to reproduce
- Open Nextcloud in a Browser in full screen on a vertical WQHD monitor (on Windows in 100 % scale).
- Open Contacts App with a lot of contacts (at least 35; I have 494).
- See error: The contacts list is not filled to the end.
Expected behavior
The contact list is filled over the whole screen.
Actual behavior
The contact list is just filled for about 2/3 of the screen. If you scroll, you can see how the contacts are loaded/deleted in batches. When scolling down, about 10 contacts will spawn when the list is only filled to the middle.
Contact version
7.3.2
Operating system
Windows 11
PHP engine version
PHP 8.2
Web server
Apache (supported)
Database
MySQL
Additional info
No response
@team can i work on this issue?
Hello, I was able to reproduce the issue. @maishivamhoo123 of course feel free to push a pr and I will help you with the review
The behavior is now as expected; the entire screen is filled with contacts. This has worked since Contacts version 8.3.0, if not earlier. Version 8.3.2 also works correct. I currently have Nextcloud version 32.0.5. I also verified that it works when reducing the zoom level in the browser, and the contacts list fills up there as well (so there is no problem with a hard-coded batch size).