appbaseio / reactivesearch

Search UI components for React and Vue
https://opensource.appbase.io/reactivesearch
Apache License 2.0
4.89k stars 471 forks source link

[SearchBox mode=tag] Backspacing on ongoing search should not delete all previously selected keywords #2261

Open mhilaire opened 8 months ago

mhilaire commented 8 months ago

Affected Projects React

Library Version: latest v4

Describe the bug When a user has already selected search keywords using the searchBox when he starts typing a new word and decides to delete it, all previously selected keywords are removed.

To Reproduce Test component: https://reactivesearch-react.vercel.app/?path=/story/search-components-searchbox--with-mode-prop Steps to reproduce the behavior:

Expected behavior All previously selected search keywords should be kept

Screenshots (https://www.loom.com/share/50cbaf501e31487d87330239194aa851?sid=f36d990b-8c97-4790-bd8b-d9d399e020c0)