Datagrid useSortableColumns -> when disableSortBy is true minWidth is ignored and set to 0px #5561
Closed
2 tasks done
Labels
component: Datagrid
Sev 3
Visible or noticeable to users but does not impede functionality. Has a workaround.
Package
Carbon for IBM Products
Description
When setting up headers for the Datagrid componenet, if you set a minWidth and disableSortBy the set minimum width is ignored and set to 0px
Component(s) impacted
Datagrid table
https://github.com/carbon-design-system/ibm-products/assets/118757021/0e688a48-7178-4f8b-86a8-ea8e3fbc2fda
Browser
Chrome
@carbon/ibm-products (previously @carbon/ibm-cloud-cognitive) version
2.21.0
Severity
Severity 3 = The problem is visible or noticeable to users but does not impede the usability or functionality. Affects minor functionality, has a workaround.
Product/offering
SOAR
CodeSandbox or Stackblitz example
https://stackblitz.com/edit/github-5arppl?file=src%2FExample%2FExample.jsx
Steps to reproduce the issue (if applicable)
No response
Release date (if applicable)
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: