Roam-Research / issues

Roam Research - A note-taking tool for networked thought.
https://roamresearch.com/
304 stars 6 forks source link

Editing page created inline requires extraneous esc keypresses #625

Open sooheon opened 3 years ago

sooheon commented 3 years ago

Steps to reproduce

  1. Create a new page with the standard [[]] syntax, and nav to it with ctrl-o
  2. You would expect to be able to CMD-enter or CMD-shift-enter to begin typing, but this does not work.
  3. You have to press esc twice, and then CMD-enter or CMD-shift enter to begin typing.
    • There is no indication of state change when pressing esc twice, seems to just be unspecified behavior due to keyboard capture implementation.

What should be a fluid writing experience of “create page inline, go to it and start writing” turns into “create page, go to it, press esc multiple times with no visual feedback (which will force you out of fullscreen mode), press another shortcut (cmd-enter, which collides with toggle TODO as well) to begin writing”

roam_bug_keyboard_focus

System Information:

additional context

This does not happen if you create the page and then click to it. It seems that in general, UX is built for mouse interaction first over keyboard interaction -- I'm happy to be the keyboard only user tester for roam.