vaadin / vaadin-grid-flow

Vaadin Flow Java API for vaadin/vaadin-grid Web Component
https://vaadin.com/components/vaadin-grid
Other
14 stars 16 forks source link

Grid with multiselect inside Dialog has ellipsis in selection column #991

Closed TatuLund closed 4 years ago

TatuLund commented 4 years ago

There is a regression in Vaadin 14.2. Grid with multiselect inside Dialog has ellipsis in selection column

image

This did not happen in 14.0.x

Code to reproduce

        Button gridTest = new Button("Grid");
        gridTest.addClickListener(buttonClickEvent -> {
            Dialog dialog = new Dialog();
            Grid<Object> grid = new Grid<>();
            grid.addColumn(x -> "aaaaaaaaaaaaa").setHeader("AAA");
            grid.addColumn(x -> "bbbbbbbbbbbbb").setHeader("BBB");
            grid.addColumn(x -> "ccccccccccccc").setHeader("CCC");
            grid.setItems(IntStream.range(0, 100).mapToObj(i -> i));
            grid.setSelectionMode(Grid.SelectionMode.MULTI);
            grid.setSizeFull();
            dialog.setWidth("1000px");
            dialog.setHeight("500px");
            dialog.add(grid);
            dialog.open();
        });
        add(gridTest);
web-padawan commented 4 years ago

Probably related to https://github.com/vaadin/vaadin-grid/issues/1723 although that is reported for 14.1

TatuLund commented 4 years ago

@web-padawan Yes, looks the same. I made a correction, my contact upgraded from 14.0.x not 14.1.x.

alvarezguille commented 4 years ago

Versions and description are consistent with https://github.com/vaadin/vaadin-grid/issues/1723, closing as duplicate