command-clicking a search result should not hide the list

I’m a big fan of the search box at the top of the Observable site, but sometimes I want to open multiple results from the search in new tabs.

When I command-click one of them, the page opens in a new tab as desired, but unfortunately the results list disappears. What’s worse, clicking back in the search box does not re-show the same list of results. To get the results again I need to delete and re-type the last character (or click outside the search box and back inside it again), and then wait for the list to repopulate.


+1. I just came across this too.

This is unfortunately an upstream issue in react-autosuggest, the component we use to support searching. We plan to write our own system for handling auto-suggest search, and when that gets implemented we’ll be able to cleanly support cmd-click.

1 Like