RocketChat / Rocket.Chat

The communications platform that puts data protection first.
https://rocket.chat/
Other
40.39k stars 10.51k forks source link

Upload modal box disappear if click is made outside the box, or in the title box #22361

Open Adesfire opened 3 years ago

Adesfire commented 3 years ago

Description:

Using the Web portal, on any channel: If I click the + button to add a picture from my computer, then I choose a file, the modal box will immediately close if I do one of the following:

image

Steps to reproduce:

  1. Go to the web application
  2. Open a channel if not already
  3. Click on the bottom right + button then select Computer
  4. Pick a picture from your computer
  5. Highlight the filename field using your mouse, by clicking left at the begining of the string then moving over the name, continue until your cursor is out of the white modal box and release your mouse left button

Expected behavior:

The modal box must stay opened if I release my left button outside the upload modal box It should also stay open if I click outside of it, that could happens by mistake and I will have to redo the upload again. In fine, only the cancel button should close the modal box.

Actual behavior:

If we click outside the modal box, it closes it without a warning. If we select a text using the left button of our mouse and release it outside the box, it closes the box without a notice as well.

Server Setup Information:

Client Setup Information

Additional context

Relevant logs:

ankar84 commented 3 years ago

duplicate of https://github.com/RocketChat/Rocket.Chat/issues/17562

Sayan4444 commented 9 months ago

Hi @Adesfire I think this issue has been solved. If it has then please do close it.