observablehq / feedback

Customer submitted bugs and feature requests
42 stars 3 forks source link

Search/replace: Replacing a result moves selection back to first item #341

Closed mootari closed 2 years ago

mootari commented 2 years ago

Describe the bug

When a search result is replaced and thus removed from the result list, the selection does not advance to the next item, but instead jumps back to the first item.

Expected behavior

After replacing an item the next item becomes selected, so that multiple results can be replaced in succession.

Screenshots

Kapture 2022-01-09 at 12 24 24

CobusT commented 2 years ago

This should now work correctly. Please re-open if you disagree.