runbox / runbox7

Runbox 7 web app
Other
127 stars 26 forks source link

#Mail: Drag-and-drop of messages shows the wrong entry #1095

Open gtandersen opened 3 years ago

gtandersen commented 3 years ago

Describe the bug Drag-and-drop of messages shows the wrong entry being moved, and the entry is incorrectly rendered.

In Firefox and Chrome the entry shown are 2-3 entries further up in the list, and split horizontally as a combination of two entries.

In Safari the symptom is similar, but the shown entry is enlarged to double the size.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://runbox.com/app
  2. Click and drag a message in the message list
  3. Inspect the entry being dragged

Expected behavior The correct entry should be shown when dragging, and not split horizontally.

Screenshots Screenshots unavailable due to the symptom only being shown when clicking and dragging.

Desktop (please complete the following information):

castaway commented 2 years ago

The current live system seems to work fine for me, using Firefox on linux, Chrome-based browsers however, don't support the method we're using (it will only drag with a visible image) - I've managed to sort of make that work..

gtandersen commented 2 years ago

Ref https://github.com/runbox/runbox7/commit/5ffcaf29f8c01c6c8c233ef75793d849922d7be9

gtandersen commented 2 years ago

It might be a good idea to only use a visible image in all browsers as it might be more reliable.