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

Row selection UI issues when search is used #1360

Open
1 task done
ColinMorris83 opened this issue Jan 15, 2025 · 0 comments
Open
1 task done

Row selection UI issues when search is used #1360

ColinMorris83 opened this issue Jan 15, 2025 · 0 comments

Comments

@ColinMorris83
Copy link

ColinMorris83 commented Jan 15, 2025

material-react-table version

v3.1.0

react & react-dom versions

v18.3.1

Describe the bug and the steps to reproduce it

On this: https://www.material-react-table.com/docs/guides/row-selection#enable-row-selection-demo

Tick the checkbox for Dylan, and '1 of 2 row(s) selected (Clear selection)' will appear

Now type 'raq' in the search box, now only the one row for Raquel shows as expected, and still the count of rows selected at top is shown and is correct.

Tick the box for Raquel, count is not updated, still shows '1 of 2' (Seems a bug?)

Click Clear selection, the count display is now removed

Clear the search filter, now both rows are displayed again.

Dylan row still has the checkbox checked (Seems a bug, Clear selection should have wiped it?)

Minimal, Reproducible Example - (Optional, but Recommended)

Easily reproducible following the steps in description

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant