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]: last column always stretches to the full width #5646

Closed
1 of 2 tasks
janhassel opened this issue Jul 8, 2024 · 0 comments · Fixed by #5920
Closed
1 of 2 tasks

[Datagrid]: last column always stretches to the full width #5646

janhassel opened this issue Jul 8, 2024 · 0 comments · Fixed by #5920
Assignees
Labels
component: Datagrid role: dev Sev 3 Visible or noticeable to users but does not impede functionality. Has a workaround. type: bug 🐛 Something isn't working

Comments

@janhassel
Copy link
Member

Package

Carbon for IBM Products

Description

When having only a few columns and using them with right-aligned content (e.g. for numbers), the last column can easily be overseen as it stretches the full remaining width of the Datagrid.

Component(s) impacted

Datagrid

Browser

No response

@carbon/ibm-products (previously @carbon/ibm-cloud-cognitive) version

2.43.1

Suggested Severity

Severity 2 = Aspects of design is broken, and impedes users in a significant way, but there is a way to complete their tasks. Affects major functionality, has a workaround.

Product/offering

watsonx

CodeSandbox or Stackblitz example

https://stackblitz.com/edit/github-pdwkyw-ukdvo5?file=src%2FExample%2FExample.jsx

Steps to reproduce the issue (if applicable)

image

Release date (if applicable)

No response

Code of Conduct

@github-project-automation github-project-automation bot moved this to Needs triage 🧐 in Carbon for IBM Products Jul 8, 2024
@elycheea elycheea moved this from Needs triage 🧐 to Backlog 🌋 in Carbon for IBM Products Jul 22, 2024
@anamikaanu96 anamikaanu96 moved this from Backlog 🌋 to In progress in Carbon for IBM Products Aug 22, 2024
@elycheea elycheea moved this from In progress to Needs review 👋 in Carbon for IBM Products Aug 22, 2024
@elycheea elycheea added the Sev 3 Visible or noticeable to users but does not impede functionality. Has a workaround. label Aug 22, 2024
@github-project-automation github-project-automation bot moved this from Needs review 👋 to Done 🚀 in Carbon for IBM Products Sep 12, 2024
wkeese added a commit to wkeese/carbon-ibm-products that referenced this issue Oct 16, 2024
Fix regression from 9bd307e
where Datagrid keeps redrawing.  On our unit tests we get the
exception:

Too many re-renders. React limits the number of renders to prevent an
infinite loop.

Refs carbon-design-system#5920, carbon-design-system#5646.
github-merge-queue bot pushed a commit that referenced this issue Oct 16, 2024
Fix regression from 9bd307e
where Datagrid keeps redrawing.  On our unit tests we get the
exception:

Too many re-renders. React limits the number of renders to prevent an
infinite loop.

Refs #5920, #5646.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: Datagrid role: dev Sev 3 Visible or noticeable to users but does not impede functionality. Has a workaround. type: bug 🐛 Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants