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

@uppy/react does not work with remix #4931

Closed
2 tasks done
nickjamesio opened this issue Feb 20, 2024 · 2 comments · Fixed by #4933
Closed
2 tasks done

@uppy/react does not work with remix #4931

nickjamesio opened this issue Feb 20, 2024 · 2 comments · Fixed by #4933
Labels

Comments

@nickjamesio
Copy link

Initial checklist

  • I understand this is a bug report and questions should be posted in the Community Forum
  • I searched issues and couldn’t find anything (or linked relevant results below)

Link to runnable example

https://stackblitz.com/edit/remix-run-remix-bb6hkz?file=app%2Froutes%2F_index.tsx

Steps to reproduce

Run linked stackblitz and select one file for upload. I selected a png file but I don't think it matters.

Expected behavior

The file will only show in the dashboard list once and there will be no errors about missing functions.

Actual behavior

It will show the file in the Dashboard twice and you will see the following error in the console
Remix-run_-_Remix__forked__-_StackBlitz_and_New_Issue_·_transloadit_uppy

Remix-run_-_Remix__forked__-_StackBlitz

I also noticed the cancel button does not work or do anything

@Murderlon
Copy link
Member

Interesting, I haven't seen this before in React. I'll take a look soon.

@nickjamesio
Copy link
Author

wow thanks for the quick fix!

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

Successfully merging a pull request may close this issue.

2 participants