Selecting "cancel" during upload leaves upload progress UI behind


(Dean Taylor) #1

Steps to reproduce:

  1. Create new topic / reply post
  2. Drag and drop large image
  3. Select cancel to the right of “Uploading %” (before upload completes)

Expected:

  • Confirmation upload has been cancelled.
  • Upload process and cancel button to be hidden

Actual:

  • Upload progress remains suck at the percentage it was at when cancel was selected.
  • Cancel button remains on screen.

Screen grab after cancel has been selected.


(Jeff Atwood) #2

Can you repro this @zogstrip? Probably not urgent, but if the fix is easy…


(Régis Hanol) #3

Thanks for reporting that @DeanMarkTaylor. Seems like the behavior of the library we use to handle file uploads changed when I updated it to latest version…

Should be fixed now :snake:

https://github.com/discourse/discourse/commit/9c2a7f0fd157b44e9e1c1ef2a2985dc4fb090d84


(Jeff Atwood) #4