Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Datagrid useSortableColumns -> when disableSortBy is true minWidth is ignored and set to 0px #5561

Open
2 tasks done
SkaisteMot opened this issue Jun 21, 2024 · 0 comments
Open
2 tasks done
Labels
component: Datagrid Sev 3 Visible or noticeable to users but does not impede functionality. Has a workaround.

Comments

@SkaisteMot
Copy link

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

@matthewgallo matthewgallo added component: Datagrid Sev 3 Visible or noticeable to users but does not impede functionality. Has a workaround. and removed status: needs triage 🕵️‍♀️ labels Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: Datagrid Sev 3 Visible or noticeable to users but does not impede functionality. Has a workaround.
Projects
Status: Backlog 🌋
Development

No branches or pull requests

2 participants