Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mhilaire opened this issue Oct 26, 2023 · 0 comments
Assignees
Labels

Comments

@mhilaire
Copy link

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:

  • Search for paradise
  • select paradise
  • Search for Potter
  • select harry potter
  • Type 'pot'
  • backspace to delete up to the begining of the search bar

Expected behavior
All previously selected search keywords should be kept

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

  • Browser Chrome
  • Version: 117
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants