Roam-Research / issues

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

Pressing backspace in search bar deletes selected block in the main pane #526

Open keikhcheung opened 4 years ago

keikhcheung commented 4 years ago

Describe the bug

When you type to search in the search bar with Cmd + U, then press Backspace—if you have any blocks selected in the main window (e.g. a block you highlighted in Daily Notes)—it deletes the selected block and quits the search.

To Reproduce

Steps to reproduce the behavior:

  1. Go to Daily Notes.
  2. Type something in a block.
  3. Select this block (by Esc for example).
  4. Initiate search by Cmd + U.
  5. Type something in the search bar.
  6. Press Backspace to try to delete what you wrote for the search.
  7. See bug. The search quits and the selected block is deleted.

System Information: