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

Website is loads mobile first, even on desktop #44

Open
benslv opened this issue Sep 16, 2021 · 0 comments
Open

Website is loads mobile first, even on desktop #44

benslv opened this issue Sep 16, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@benslv
Copy link
Member

benslv commented Sep 16, 2021

Seems like the site is loading the mobile components first on load, then switching to the desktop ones after a short delay.

Wondering if it's to do with use handling some of the media queries through JS instead of CSS, which means they aren't run until the site is fully loaded? Since we ought to be taking a mobile-first approach, we shouldn't really be changing the order the components are rendered in, I think.

Only option to avoid this might be to handle all the breakpoints/media queries through Stitches instead.

website loading mobile first

@benslv benslv added the bug Something isn't working label Sep 16, 2021
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

1 participant