mirror of
https://github.com/LukeHagar/immich.git
synced 2025-12-06 04:20:06 +00:00
The current behaviour will intersect if the page is scrolled about 90% down which works okay for a small number of assets, but does not scale well with large amounts of assets. Instead of relying in proportional values, it may be more sensible to use a consistent measure for loading more pages. A simple and sensible suggestion may be to load another page when there is only one more viewport worth of assets to display. It can be refined and revisited in future, but it seems to work relatively well in my testing and prevents the issues which occur with large amounts of assets. Co-authored-by: Alex <alex.tran1502@gmail.com>
Immich web project
This project uses the SvelteKit web framework. Please refer to the SvelteKit docs for information on getting started as a contributor to this project. In particular, it will help you navigate the project's code if you understand the basics of SvelteKit routing.
When developing locally, you will run a SvelteKit Node.js server. When this project is deployed to production, it is built as a SPA and deployed as part of the server project.