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
I don't know if this solution messes up the implementation of Checkbox in any other case. If this seems an acceptable solution, I would like to be assigned this issue. I would create a PR with the above-mentioned solution.
I think this also resolves the issue across browsers. However the sizing of the checkmark itself slightly increases, but you can try to change that in the component itself to fix that.
Describe the bug
Issue
On checking the
CheckBox
component in theData Table
, the height of rows increases.My Solution
The
Checkbox
component contains the following code:Changing the following line
to
fixes the issue.
I don't know if this solution messes up the implementation of
Checkbox
in any other case. If this seems an acceptable solution, I would like to be assigned this issue. I would create a PR with the above-mentioned solution.Affected component/components
Data Table
How to reproduce
Implement the demo table on https://ui.shadcn.com/docs/components/data-table.
OR
Check out the StackBlitz link provided.
Codesandbox/StackBlitz link
https://stackblitz.com/edit/stackblitz-starters-rx7yav?file=app%2Fpage.tsx
Logs
No response
System Info
System: Macbook M1 Issue is seen in the following browsers: Chrome, Brave, Safari, Firefox
Before submitting
The text was updated successfully, but these errors were encountered: