dativebase / dative

Dative: software for linguistic fieldwork
http://www.dative.ca
Apache License 2.0
14 stars 5 forks source link

Keyboard shortcut when selectmenu in focus changes selected option #15

Open jrwdunham opened 10 years ago

jrwdunham commented 10 years ago

To recreate bug:

  1. go to Add a Form page
  2. set focus to verifier field and type the keyboard shortcut CTRL+P
  3. return to Add a Form page (CTRL+A) and see that the selected verifier is now a user whose name begins with "P" (if there is one)

The selectmenu is catching the CTRL+P event and changing the selected value accordingly. Calling .stopPropagation() doesn't work (I think) because the selectmenu catches the event first (...). Anyways, this is a small bug, but it would be nice to fix it...

jrwdunham commented 9 years ago

I think I fixed a similar issue to this in another View using a clever hack. TODO: look into this fix, use it to close this issue.