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

Resizing viewport between mobile/desktop hangs frontend #1761

Open
xypnox opened this issue Feb 12, 2024 · 0 comments
Open

Resizing viewport between mobile/desktop hangs frontend #1761

xypnox opened this issue Feb 12, 2024 · 0 comments

Comments

@xypnox
Copy link
Contributor

xypnox commented Feb 12, 2024

What Are You Doing?

  • Open a fastn website with decent amount of content
  • Resize viewport (browser) such that it crosses the mobile/desktop breakpoint

Expected Behaviour:

  • It should not hang while resizing between the viewports

Current Behavior

  • The Interface hangs for several seconds

Possible Solution

  • Some areas to investigate:
    • viewport resize on breakpoint runs a lot of JS code with nested small functions
    • the approach of handling layouts and dependency of viewport width on so many components

Context

  • Usually websites don't hang on resizing.

Severity

HIGH

Examples

Reproducable on:

Firefox, Chromium Linux
Chromium MacOS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants