You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you intend to try to help solve this bug with your own PR?
Maybe, I'll investigate and start debugging
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.
The text was updated successfully, but these errors were encountered:
sijonelis
changed the title
table.getIsSomeRowsSelected() incorrectly reports false when filter returns exactly one row
table.getIsSomeRowsSelected() incorrectly reports false when all available rows are selected
Jun 15, 2024
Thus currently the "correct "way to render the advanced example should be:
... same for other buttons
<Button
color="blue"
disabled={!table.getIsSomeRowsSelected() && !table.getIsAllRowsSelected()}
onClick={handleContact}
variant="filled"
>
Contact
</Button>
Tanstack tables repo already has an issue to track this, so hopefully this will be fixed in the future release.
Keeping that in mind I think it is not worth it to do any changes on this project's examples, just have to keep this in mind until the issue is fixed on the Tanstack side.
I'll leave it up to the team whether to keep this issue open or close it~
sijonelis
changed the title
table.getIsSomeRowsSelected() incorrectly reports false when all available rows are selected
Row action buttons in Advanced example do not work correctly when all rows are selected
Jun 15, 2024
mantine-react-table version
2.0.0-beta.4
react & react-dom versions
18.2.0
Describe the bug and the steps to reproduce it
Go to the advanced example page: https://v2.mantine-react-table.com/docs/examples/advanced#advanced-example and
Minimal, Reproducible Example - (Optional, but Recommended)
Provided in repro: https://v2.mantine-react-table.com/docs/examples/advanced#advanced-example
Screenshots or Videos (Optional)
No response
Do you intend to try to help solve this bug with your own PR?
Maybe, I'll investigate and start debugging
Terms
The text was updated successfully, but these errors were encountered: