vaadin / vaadin/framework

Resizing columns causes a gray space next to the grid

Open
#10,638 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Hi, I have a problem with Grids. My Grid has a width : 100%, which is in a Panel with a width : 50%.
grid_before_panel_resize
I reduce the size of one column I have a grey space on the right of my Grid.
grid_after_column_resize
Then I change the size of my Panel to 100%, my Grid has a width : 100%, OK. But my columns keep the size they had when my Panel had width : 50%.
grid_after_panel_resize
Is there a way to reset the size of all my columns after my event (Panel : 50% -> 100%) ?

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

No source file, test, or entry point is identified in the report. Start by reproducing the grid and panel resize sequence from the screenshots, then locate the column-resizing and panel-layout handling; done means the grid columns correctly adjust after the panel changes from 50% to 100% without leaving gray space.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.