appbaseio / appbaseio/reactivesearch

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

Abierto
#2,261 0 comentarios 2 reacciones 1 asignado Reclamado por @siddharthlatest Ver en GitHub
bug
Lenguaje dominante
JavaScript
Estrellas
4.9k
Forks
478
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

**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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.