Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Layout shift of VisibleContributors in ProjectCards #115

Open
georgimld opened this issue Oct 30, 2024 · 0 comments
Open

Layout shift of VisibleContributors in ProjectCards #115

georgimld opened this issue Oct 30, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@georgimld
Copy link
Contributor

When the ProjectCard are pre-rendered on the server, the controbutors are not shown, they are only loaded 1-2 seconds later causing a layout shift.

  • This happens because the VisibleContributors component is rendered on the client.
  • We should think about either moving the entire rendering of the component to the server (if possible, the component logic would need to be done differently)
  • or at least having some sort of placeholder to avoid layout shifts
@georgimld georgimld added the bug Something isn't working label Oct 30, 2024
@simonhrmo simonhrmo self-assigned this Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants