Filtered row disappears if its cell value was changed

Aperta
#4,905 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
react, typescript
Ambito
frontend

Direzione di ricerca

Non viene indicato alcun file del repository, test o punto di ingresso. Inizia riproducendo il comportamento nella CodeSandbox collegata con celle modificabili e filtri, quindi traccia l’interazione tra filtraggio e modifica; il lavoro è completato quando la riga modificata rimane visibile finché il valore del filtro non cambia.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Describe the bug

Used features:

  • editable cells
  • filters

Shortly - the row with the changed value disappears from the filter results as it doesn't match filter value anymore

Your minimal, reproducible example

https://csxpqs.sse.codesandbox.io/

Steps to reproduce
  1. Filter table by any column
  2. Change cell value to any which doesn't contain symbols from the current filter value
Expected behavior

The row with the changed value is still present in the results until filter value is changed

How often does this bug happen?

Every time

Screenshots or Videos

No response

Platform

any platform, any browser

react-table version

v8.7.9

TypeScript version

No response

Additional context

Not sure it's a bug, but it's a nice to have functionality which can make users life easier.
I'll appreciate any thoughts on how to implement it with/without library changes.

Terms & Code of Conduct
  • I agree to follow this project's Code of Conduct
  • I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
Lingua principale
TypeScript
Stelle
28.6k
Fork
3.6k
Merge medio
5h 55m
PR unite (30g)
3

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di TanStack/table

Tutte le issue di TanStack/table

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.