Issue with Skeleton Display in Material React Table v2: Pagination Dependency and Incorrect Behavior #1092
Unanswered
AdityaBhadange
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've come across a peculiar issue with the Material React Table v2 library. When I enable pagination in my table component, the skeletons display correctly while waiting for data. However, when pagination is disabled, the skeletons don't behave as expected.
Without pagination, the table immediately shows a "No records to display" message instead of displaying the skeletons while waiting for the data. Even after setting the showSkeletons property to true, there's a delay before the skeletons appear, if they appear at all.
I've tried simplifying the implementation by removing custom components and using the
useMaterialReactTable
hook directly, but the issue persists.Any insights into why the skeletons only work correctly when pagination is enabled would be greatly appreciated. Thank you for your assistance!
Beta Was this translation helpful? Give feedback.
All reactions