henck / trizbort

This is a browser implementation of the Trizbort adventure game mapping and code generation software.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Room popup doesn't show up if you drag slightly

dfabulich opened this issue · comments

To reproduce:

  1. Create a room
  2. With the pointer selected, mousedown on the room, but drag your mouse just one pixel, not enough to drag the room, and mouseup

Actual:
The popup appears on mousedown, but disappears on drag.

Expected:

  1. Small drags that don't move the room should not hide the popup
  2. Even for large drags, when I'm done dragging the room, the popup should re-appear.

Tested on Chrome 81 and Firefox 76 on macOS Catalina 10.15.4

More generally, I found that the room popup was very fiddly; sometimes it would just refuse to show up, and it wasn't clear why. While investigating, I found this bug, which reproduced reliably, but I suspect there may be other non-drag cases where the popup doesn't reliably show up.