Skip to content

[WC-3279] Datagrid 2: Enforce filter-aware minimum width during column resize#2104

Open
rahmanunver wants to merge 4 commits intomainfrom
wc-3279_dg2_column_resize
Open

[WC-3279] Datagrid 2: Enforce filter-aware minimum width during column resize#2104
rahmanunver wants to merge 4 commits intomainfrom
wc-3279_dg2_column_resize

Conversation

@rahmanunver
Copy link
Contributor

@rahmanunver rahmanunver commented Feb 18, 2026

Pull request type

Bug fix (non-breaking change which fixes an issue)


Description

Columns could be resized narrower than their header filter widget required, making filters unusable or invisible. The hardcoded 50px minimum in ColumnResizer predates the dual-grid architecture introduced in 3.8.0, where the body grid independently determines column widths, meaning the header filter content could be resized however wished.

What should be covered while testing?

All content types should be tested for their set min-width:
150px — DateTime
120px — AutoNumber, Decimal, Integer, Long
100px — String, HashString, Boolean, Enum

Note: We could go smaller values, but I made a design decision, for example, having a date 02/18/2026, the 150px min-width ensures it is always fully visible, I think it's good to discuss if we want to focus only on preserving functionality in this PR. These values are adjustable.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments