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 rows collapsing on empty cells. #792

Open
1 task
sowmyachallagulla opened this issue Jul 4, 2023 · 0 comments
Open
1 task

Datagrid rows collapsing on empty cells. #792

sowmyachallagulla opened this issue Jul 4, 2023 · 0 comments

Comments

@sowmyachallagulla
Copy link

This is a bug report for the @clr Angular or UI versions of the design system.
For the web-component implementation of Clarity (@cds), visit vmware-clarity/core.

Describe the bug

When selecting columns with empty cells, Datagrid rows collapse.

Workaround provided by clarity team:

  • using default min-height for datagrid cells
  • & nbsp; in the blank column which does not shrink the row height.

While the workaround resolves the problem, but we believe that this behaviour is a bug in the Clarity Datagrid that requires a proper fix.

By raising this clarity issue, we hope to bring attention to the problem and request a fix from the Clarity team to address the collapsing rows on empty cells.

How to reproduce

https://stackblitz.com/edit/clarity-datagrid-basic-khanro?file=src%2Fapp%2Fapp.component.html

Steps to reproduce the behaviour:

  • Create a Clarity compact Datagrid.
  • Populate some cells in the grid with content, but leave certain columns empty.
  • Select the columns with empty cells.

Expected behavior

The Datagrid should maintain consistent row height even when columns contain empty cells.

Versions

Clarity version:

  • v13.x

Framework version:
ie: Angular 13.3.10

Additional notes

Add any other notes about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants