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

Bug: mux-uploader 'success' immediately triggered when selecting file in Safari #892

Open
1 task done
cgs opened this issue Apr 3, 2024 · 2 comments
Open
1 task done
Labels
bug Something isn't working Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug

Comments

@cgs
Copy link

cgs commented Apr 3, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Which Mux Elements/Packages does this apply to? Select all that apply

mux-uploader

Which browsers are you using?

Safari

Which operating systems are you using?

macOS

Description

Using mux-uploader. I have a 4.5 GB .mov file that when selected via the file browser (or using drag/drop) immediately triggers the 'success' event and the file is not actually uploaded:

Screen.Recording.2024-04-03.at.9.58.15.AM.mov

This only happens with this specific file and in Safari. There are no errors in the console. It works ok in Chrome. Here are the video specs:

Original-File

Here is the video file: https://www.dropbox.com/scl/fo/a3abqnobqroiaomuv1u1r/h?preview=Daily+Meditation_v2.mov&rlkey=w39tdtitdux7thftzpxjd6od3&dl=0

Reduced test case

No response

Steps to reproduce

  1. Download the file linked above
  2. In a bare-bones mux-uploader implementation, drag or select the file in Safari

Current Behavior

'success' immediately triggered and "Upload Complete" shown, but file not actually uploaded. See video above

Expected Behavior

File should upload normally

Errors

There are no console errors.

What version of the package are you using?

1.0.0-beta.15

@cgs cgs added bug Something isn't working Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug labels Apr 3, 2024
@cjpillsbury
Copy link
Contributor

Hey @cgs sorry for the slow response! This is is sadly due to a bug in WebKit (https://bugs.webkit.org/show_bug.cgi?id=272600). We're hoping to eventually implement an "opt in" (sub-optimal) fallback, but in the interim, I've made some updates to at least appropriately notify the state with some default guidance for the user. Given the browser-based nature of this bug, do you think this will hold you over for your use case until either WebKit fixes it or we get that "less than ideal" workaround in place?
Screenshot 2024-04-18 at 3 02 16 PM

@cgs
Copy link
Author

cgs commented Apr 22, 2024

Hey @cgs sorry for the slow response! This is is sadly due to a bug in WebKit (https://bugs.webkit.org/show_bug.cgi?id=272600). We're hoping to eventually implement an "opt in" (sub-optimal) fallback, but in the interim, I've made some updates to at least appropriately notify the state with some default guidance for the user. Given the browser-based nature of this bug, do you think this will hold you over for your use case until either WebKit fixes it or we get that "less than ideal" workaround in place? Screenshot 2024-04-18 at 3 02 16 PM

Yes, I think a descriptive error is better than no error! Thanks for investigating this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug
Projects
None yet
Development

No branches or pull requests

2 participants