Skip to content

<DataTable>: No width limit when condensing or expanding columns  #2564

@jocelyn-dunkley

Description

@jocelyn-dunkley

These are all related to the same issue (I believe) so I have put all my observations here. Please let me know if I should create separate issues for some of them.

Describe the bug

  1. I am allowed to expand the column beyond the screen width. As a result I cannot edit the width again because the adjuster is beyond the screen size. So I must expand my own browser size and the cycle continues
  2. Along with issue 1, I can expand the width of the 2nd to last column so much that the last column goes off the screen and I can't access it anymore
  3. I am allowed to condense the width of the column much smaller than I expect. But there is still padding on the left side and none on the right. When I hover over the column header, more of the header title is shown but not the whole thing.
  4. If I condense multiple columns the whole table width decreases. But the DataTableManager table settings stay in the same position.

Expected behavior

Issue 1: I expect to only expand the width to the screen size and nothing more. If I increase or decrease the browser width I expect the table to expand or contract along with it.

Issue 2: I expect that the last column has its limit and the 2nd to last column doesn't override it. All the columns stay within the browser width.

Issue 3: I expect the column width limit to be when the column header text is wrapped and the sort option is still visible.

Something like this:
Screenshot 2023-07-14 at 11 38 28
Right now it is this:
Screenshot 2023-07-14 at 11 40 42

Also the left padding should adjust with the width so the padding is always even.

Issue 4: I expect the whole table width to stick to the 100% width of the browser. The column widths will adjust within that. But the whole table width should not move.

Screenshots

Kapture 2023-07-14 at 11 41 55
Kapture 2023-07-14 at 11 48 39

Screenshot 2023-07-14 at 11 43 47

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions