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
The data table example shown in https://github.com/shadcn-ui/ui/tree/main/apps/www/app/(app)/examples/tasks has an issue wherein the checkbox for either selecting a single row or selecting all rows makes the checkboxes shift. Also, by default the checkbox isn't aligned. I have fixed it by going in columns.tsx and change the following block
Describe the bug
The data table example shown in
https://github.com/shadcn-ui/ui/tree/main/apps/www/app/(app)/examples/tasks
has an issue wherein the checkbox for either selecting a single row or selecting all rows makes the checkboxes shift. Also, by default the checkbox isn't aligned. I have fixed it by going incolumns.tsx
and change the following blockWith following fixes, which then becomes as shown in video.
firefox_qV068j2nv3.mp4
I am not sure whether to make a PR or not so made this first. I didn't see any open issues either
Affected component/components
Data Table
How to reproduce
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
Before submitting
The text was updated successfully, but these errors were encountered: