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: Local Vrm upload cancel not resetting page state #94

Open
danyyil-pelekhatyi opened this issue Apr 15, 2024 · 0 comments
Open

Bug: Local Vrm upload cancel not resetting page state #94

danyyil-pelekhatyi opened this issue Apr 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@danyyil-pelekhatyi
Copy link
Contributor

Path to reproduce:

  1. Go to website
  2. Upload VRM using Load Vrm feature
  3. Click Share
  4. On share page click Upload VRM button
  5. Before upload starts click round downloading icon to cancel upload

Actual result:
Empty Vrm Url field and empty Vrm Demo shown

Expected result:
Page resets to previous state before download: Vrm Url field and Vrm Demo are hidden, Upload Local VRM message and button is shown

Basically, we need to call this code on cancel:

if (vrmLoadingFromIndexedDb)
    setVrmLoadingFromIndexedDb(false);
@slowsynapse slowsynapse added the bug Something isn't working label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants