Roam-Research / issues

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

Clicking away from query results moves cursor to edit query itself #621

Open kylestratis opened 3 years ago

kylestratis commented 3 years ago

Describe the bug

When in a query result block, clicking away from that block (usually in the header so as to not edit another result block) ends up editing the query block itself, rather than just taking focus away from the previously-focused block. If the block was edited, the edits are discarded.

This was verified with custom CSS and JS all turned off.

Video

To Reproduce

Steps to reproduce the behavior:

  1. Create a query with multiple result
  2. Focus on one of the result blocks. Optionally make some changes to the result block
  3. Click away from it but still within the larger query result block
  4. Results disappear and now your cursor is editing the query block

System Information: