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

Dashboard Lagging with FormData Containing Large Image #746

Open
kloyaa opened this issue May 20, 2024 · 1 comment
Open

Dashboard Lagging with FormData Containing Large Image #746

kloyaa opened this issue May 20, 2024 · 1 comment

Comments

@kloyaa
Copy link

kloyaa commented May 20, 2024

Description

The dashboard experiences significant lag when submitting form data that includes an image file of approximately 3MB. This issue does not occur when the form data consists only of plain objects.

Steps to Reproduce

  1. Navigate to the dashboard.
  2. Fill out a form that includes a file input for an image.
  3. Upload an image file of around 3MB.
  4. Submit the form.
  5. Observe the lag in the dashboard interface.

Expected Behavior

The dashboard should handle form submissions smoothly, regardless of whether the form data includes large files.

Actual Behavior

The dashboard becomes noticeably laggy and unresponsive during the submission process when a large image file (approximately 3MB) is included in the form data.

Analysis

  1. Lag occurs with large image files: The lag is specifically noticed when an image file of about 3MB is included in the form data.
  2. No lag with plain objects: Submitting form data with only plain objects does not cause any lag.

Browser

Microsoft Edge

@felixmosh
Copy link
Owner

Hi, thank you for reporting this issue, can you elaborate? where do you "upload" a file?

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

No branches or pull requests

2 participants