You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Avoid cumulative layout shifts on Files pages #2834
The problem is that (3) typically loads first, then (2) then (1). But 2 and 1 cause cumulative layout shifts (CLS) which means things like: you click on one folder, but just as you click, the layout shifts and now you've clicked on a different one - but you might not notice until the next page loads.
On my server (which is not going to win prizes for being high-end) the loading times for (2) and (1) can be anywhere up to a minute! So it's anyone's guess where your click is going to land. I have NC on a better server and there the problem is not so pronounced, but it is still a problem - you're waiting maybe 8-10s to be able to trust the interface has settled.
Describe the solution you'd like
A really simple solution would be to fix the amount of space allowed for README and recent files so that the layout shift is avoided.
Performance improvements could also really help.
Describe alternatives you've considered
I've considered looking for a way to turn off README and recent docs, but they have their uses.
Activity
[-]Avoid CLS problems on Files pages[/-][+]Avoid cumulative layout shifts on Files pages[/+]Prevent cumulative layout shift when richworkspace is loading
Prevent cumulative layout shift when richworkspace is loading
Prevent cumulative layout shift when richworkspace is loading
Prevent cumulative layout shift when richworkspace is loading
!fixup Prevent cumulative layout shift when richworkspace is loading
juliusknorr commentedon Sep 8, 2023
Fixed by #2834