apankrat/nullboard

Right clicking on a note toggles drag and drop mode after context menu is closed

Closed this issue · 1 comments

macOS Monterey Version 12.6
Firefox 106.0.5 (64-bit)
Also tested on Chrome 107.0.5304.87 (x86_64)

STR

  • Right click on a note to open the context menu
  • Click anywhere outside the context menu to close it
    OR
  • Middle click on a note once

ER

  • Nothing happens

AR

  • Drag and drop mode seems to have been toggled for that note and even though I am no longer holding any mouse buttons or keys down, the note is still following my cursor until I click to place it again

This occurs because the jQuery mousedown listener that primes a note does not differentiate between the mouse key codes. The below PR fixes this

Also @apankrat are there plans for implementing a minimal context menu around the app? For things such as moving notes between boards, deleting all notes in a list, etc.