Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't show components in Grid in Chrome. #557

Closed
evgenru opened this issue Feb 19, 2019 · 4 comments
Closed

Don't show components in Grid in Chrome. #557

evgenru opened this issue Feb 19, 2019 · 4 comments

Comments

@evgenru
Copy link

evgenru commented Feb 19, 2019

In versions 12.0.2 - 12.0.6
In 10.0.10 is ok.

image
after change width any column:
image

`code:

    grid = Grid(InterviewEntity::class.java)
    grid.columns.forEach { grid.removeColumn(it) }
    grid.addColumn(InterviewEntity::id.name).setHeader("ID").setFlexGrow(0).width = "50px"
    grid.addColumn(InterviewEntity::name.name).setHeader(fieldNames[InterviewEntity::name])
            .setFlexGrow(10).setResizable(true).isSortable = true
    grid.addComponentColumn { Anchor("${Constants.PRIVATE_API_V1_PREFIX}/interview/${it.id}/report", "Отчет") }
            .setHeader("Отчет").setFlexGrow(10).setResizable(true).isSortable = true
    grid.addColumn { it.group?.name }.setHeader(fieldNames[InterviewEntity::group])
            .setFlexGrow(10).setResizable(true).isSortable = true
    grid.addColumn { it.template?.name }.setHeader(fieldNames[InterviewEntity::template])
            .setFlexGrow(10).setResizable(true).isSortable = true

`

and with combobox...
image
after change width any column:
image

@evgenru
Copy link
Author

evgenru commented Feb 19, 2019

Only in chrome.... :(

@alvarezguille
Copy link
Member

Hi @evgenru, thanks for reporting this.
The chrome issue was originally reported in vaadin/vaadin-grid-flow#502 and vaadin/flow#5025 and fixed in vaadin/flow#5060
The fix was released in flow 1.2.5 and will be included in next 12.0.x release

@alvarezguille
Copy link
Member

Just for the record, the fix was also included in flow 1.0.9 to be included in next 10.0.x release.

@alvarezguille
Copy link
Member

The fix for this was included in 12.0.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants