Open
Description
Description
Steps to reproduce:
- Open "Add link" dialog, search for a note, select with arrow keys
- Press enter twice, quickly
Expected behaviour:
Same as when pressing enter twice slowly, a link is created.
Actual behaviour:
"Choose note type" dialog for new note is opened.
Javascript event handlers are run single-threaded, so it is in principle possible to fix this issue robustly. The first key event handler needs to (synchronously) set everything up for the second key event handler.
TriliumNext Version
0.92.7 (this is a long-standing issue)
What operating system are you using?
Other Linux
What is your setup?
Local + server sync
Operating System Version
NixOS 25.05 unstable
Error logs
No response