You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A clear and concise description of what the bug is. Include whether you're using Uppload version 1.x or 2.x.
Uppload version 3.2.1
Hey everyone, I'm running into an error when try to change the upload method. The problem is: once I choose one of the upload methods ie: Unsplash - I am then met with the search unsplash view which is expected. However, if I try to click any of the other options (Twitter, Direct URL, etc) that I have enabled - it will not work and does not change tabs.
If I refresh my page - I can use Uppload in the expected way (switching tabs) but only on my first load.
To Reproduce
Steps to reproduce the behavior:
Go to Uppload
Click on any of the upload options
Try clicking on another one of the upload options in the sidebar (it will not switch after the first load)
Expected behavior
A clear and concise description of what you expected to happen.
I expect to be able to switch between the different upload options at any step of the modal.
Screenshots
If applicable, add screenshots to help explain your problem. Image -> I cannot click on Instagram, Direct URL, Twitter, Etc in this photo.
Desktop:
OS: MacOS Mojave 10.14
Browser: Chrome
Version: 83.0.4103.116
Additional context
Add any other context about the problem here.
I am using Uppload in react
The text was updated successfully, but these errors were encountered:
the problem is that when you close the uploader it stays in the DOM, and when you open it next time, a new one is added below the old one.
What I did to "solve" this is manually removing the modal on close.
uploader.on('close', () => {
reject() // I reject my promise so I can enable buttons
const upploadModal = document.querySelector('.uppload-container')
if (!upploadModal) return
upploadModal.remove()
})
Hope this helps.
phlegx
added a commit
to phlegx/uppload
that referenced
this issue
Aug 12, 2021
Describe the bug
A clear and concise description of what the bug is. Include whether you're using Uppload version 1.x or 2.x.
Uppload version 3.2.1
Hey everyone, I'm running into an error when try to change the upload method. The problem is: once I choose one of the upload methods ie: Unsplash - I am then met with the search unsplash view which is expected. However, if I try to click any of the other options (Twitter, Direct URL, etc) that I have enabled - it will not work and does not change tabs.
If I refresh my page - I can use Uppload in the expected way (switching tabs) but only on my first load.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
I expect to be able to switch between the different upload options at any step of the modal.
Screenshots
If applicable, add screenshots to help explain your problem.
Image -> I cannot click on Instagram, Direct URL, Twitter, Etc in this photo.
Desktop:
Additional context
Add any other context about the problem here.
I am using Uppload in react
The text was updated successfully, but these errors were encountered: