ProtonMail / WebClients

Monorepo hosting the proton web clients
GNU General Public License v3.0
4.5k stars 568 forks source link

The delete button deletes the first email when no email is checked. #102

Closed AlexITC closed 6 years ago

AlexITC commented 6 years ago

Describe the bug The delete button deletes the first email when no email is checked.

To Reproduce Steps to reproduce the behavior:

  1. Go to a folder having several emails.
  2. Don't select anything and press the delete button.
  3. The first email is deleted.

Expected behavior Pressing the delete button when no email is selected should not delete any email.

EpokK commented 6 years ago

It deletes the first element of the list because the element is marked (so selected) with the left purple marker. It's a user experience choice.