vaadin / vaadin/framework

GridLayout in generated column is squashed after row addition to table. Regresion from vaadin 6

Open
#4,688 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Originally by artamonov


If we return grid from generate method, our layouts in all cells will be squashed.
I've reproduced same screen on Vaadin 6, and it works well.
Attached examples on Vaadin 6 and 7.

Vaadin 6: http://localhost:8086/
Vaadin 7: http://localhost:8087/


Imported from https://dev.vaadin.com/ issue #12970

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

Start with the issue's Vaadin 6 and Vaadin 7 reproduction examples and compare the GridLayout behavior after adding a table row. Trace the generated-column layout handling and determine why layouts in cells are squashed in Vaadin 7. Done means the Vaadin 7 behavior matches the working Vaadin 6 example without breaking generated columns.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.