modrinth / code

The Modrinth monorepo containing all code which powers Modrinth!
https://modrinth.com
Other
984 stars 187 forks source link

Make scrollable pages only scroll the content #2927

Open Excederus opened 1 week ago

Excederus commented 1 week ago

Please confirm the following.

What parts of Modrinth is your feature request related too?

App, Website

Is your suggested feature related to a problem? Please describe.

It is a bit annoying having to scroll back up to access pretty much any top bar on the website and app.

Describe the solution you'd like

When being on any scrollable content list/page have it scroll the content instead of the page.

Example: On the "Search modpacks" view it will scroll the entire page (on website) or 3/4 of the page (on app). Instead make the container with the list of content (in this case modpacks) scrollable so the rest of the page is fixed (top bar, paginator, sidebar). Also make the sidebar seperately scrollable (like it does in the app currently). This would also remove the need of a second paginator at the bottom of the page.

Also less related, this would go really nicely with infinite scrolling, but I understand that that's unlikely (I remember vividly how sluggish and buggy the Curse App got if you reached 300+ items in an infinite scrolling list).

Describe alternatives you've considered

An alternative would be to fix the top and side bars in place but still scroll the entire page (and the sidebar seperately).

Or have the lists be a x% window size fixed height making them not scrollable resulting in more pages (which I think is less desirable).

Additional context

Image Image