KevinVandy/material-react-table

"Show filter" triggers onColumnFiltersChange for backend pagination

jerlam06 opened this issue · 0 comments

material-react-table version

2.12.1

react & react-dom versions

18.2

Describe the bug and the steps to reproduce it

Open the dev console and trigger show/hide filters, show filters triggers a filter state change for no reason. Plus, the min/max filters remain in the filter state even when empty, this is not consistent I believe.

Minimal, Reproducible Example - (Optional, but Recommended)

https://stackblitz.com/edit/github-8arb9x?file=src%2FTS.tsx

Screenshots or Videos (Optional)

No response

Do you intend to try to help solve this bug with your own PR?

No, because I do not know how

Terms

  • I understand that if my bug cannot be reliably reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.