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 - status bar upload button visible after restoring files, despite hideUploadButton being true. #5142

Open
2 tasks done
kaperoo opened this issue May 3, 2024 · 0 comments
Labels

Comments

@kaperoo
Copy link

kaperoo commented May 3, 2024

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://codesandbox.io/p/devbox/uppy-upload-button-bug-6c9ycw?file=%2Fsrc%2FApp.tsx

Steps to reproduce

  • Open the Uppy Dashboard example with the GoldenRetriever plugin in codesandbox.
  • Add a new file.
  • Refresh the page.

Expected behavior

When the dashboard is loaded again, the state should be restored and the upload button should be hidden as hideUploadButton is set to true.

<Dashboard uppy={uppy} hideUploadButton={true} />;

Actual behavior

The upload button is visible.

image

@kaperoo kaperoo added the Bug label May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant