vaadin / vaadin/framework

Vaadin Grid: resizing columns by hand doesn't take set minimum width into account

Open
#9,822 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
1.8k
Forks
717
Avg merge
2d 6h
Merged PRs (30d)
3

Description

Setting minimum width is fine on loading page and it's taken into account, but then resizing of columns not only ignores the minimum width, but also allows resizing columns manually to below the minimum.

Tested Vaadin 8.1.1

In the pictures below: the
column.setMinimumWidth(90);
In the beggining
width90pxgrid
After resizing:

wrongwidth

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in Vaadin 8.1.1 using a Grid column with column.setMinimumWidth(90), then manually resize the column below that width. Trace the Grid column-resizing behavior and verify that manual resizing cannot reduce the column below its configured minimum width.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.