os-js / osjs-filemanager-application

OS.js File Manager Application

Home Page:https://manual.os-js.org/v3/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve responsiveness for large folders

msjavan opened this issue · comments

for the large folders to be responsive, it would be useful to load items incrementally upon scrolling down/up.

image

Yeah, sounds like a good idea. Could probably be solved by:

  • Set the container height based on the amount of items to get the correct scrolling
  • Add an Intersection Observer to the container and set display CSS property on all items outside the visible area

Also the information on status bar for the large folders are incorrect, there are 49940 files with total size of 46.5GiB in the current folder.

Then you should probably open another issue