You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug:
Grid with detail handler: setItems and set another list of partly the same items scrambles the displayed details. Somtimes the UI looks broken, sometimes the contents of the details is faulty.
Vaadin Framework version: 8.12.3
Browser version: Chrome 88.0.4324.190
Web container name and version: Tomcat, v9.0
Description of the bug: Displays faulty details
Expected behavior: Display correct details. In the example, the row contains a collection of strings and the diplayed value is a space seperated list. The details are the same entries, but listed in a vertical layout.
Actual behavior: After resetting the items with a sub set of previous items, the displayed details do no longer fit to the row.
- Old details should close.
- New details should open.
- If some row has details in both old and new item set, the details row
contents should get updated.
- Updating details row contents should not break the positioning of the
rows and details below.
Fixesvaadin#12211
- Old details should close.
- New details should open.
- If some row has details in both old and new item set, the details row
contents should get updated.
- Updating details row contents should not break the positioning of the
rows and details below.
Fixes#12211
Ansku
added a commit
to Ansku/framework
that referenced
this issue
Mar 9, 2021
Bug:
Grid with detail handler: setItems and set another list of partly the same items scrambles the displayed details. Somtimes the UI looks broken, sometimes the contents of the details is faulty.
Minimal reproducible example
private VerticalLayout createExamplleLayout() {
Collection firstCollection = Arrays.asList("Hello", ",", "world!");
Collection secondCollection = Arrays.asList("My", "name", "is", "Sarah");
Collection thirdCollection = Arrays.asList("red", "blue");
Collection fourthCollection = Arrays.asList("spring", "summer", "automn", "winter");
}
The text was updated successfully, but these errors were encountered: