Nextcloud web interface unable to cope with large amounts of files and directories - External storage SMB/CIFS

When tiring to access a folder mounted with external storage ( SMB/CIFS ) with a large amount of folder and directories the browser get slower and slower when Scrolling down gets and uses more RAM and CPU. Eventually the browser gives messages saying the page is not responsive etc. It works slightly better on Firefox than Chrome.

Extrnal storage - SMB/CIFS
Nextcloud version : 12
Operating system and version : Ubuntu, Windows