Skip to content
This repository has been archived by the owner on Dec 12, 2022. It is now read-only.

Problem displaying icons inside Grid in Chrome 72 #534

Closed
mlopezFC opened this issue Feb 15, 2019 · 2 comments
Closed

Problem displaying icons inside Grid in Chrome 72 #534

mlopezFC opened this issue Feb 15, 2019 · 2 comments

Comments

@mlopezFC
Copy link

Vaadin version: 12.0.6

Chrome version: 72.0.3626.109 (Build oficial) (64 bits)

Adding icons inside a cell of a grid, shows them in Firefox and in Edge (wasn't able to test it in IE11), but not in Chrome. If I open Chrome Developers Tools, and then Toggle Device Toolbar, then icon appears, but then, if I disable it, and refresh, they disappear again.

This is the code to reproduce the issue:

		Grid<String> grid = new Grid<>();
		grid.addColumn(new ComponentRenderer<>(att -> {
			if (att.equals("1")) {
				Icon yep = new Icon(VaadinIcon.CHECK);
				yep.setColor("lime");
				return yep;
			} else {
				Icon nope = new Icon(VaadinIcon.CLOSE);
				nope.setColor("red");
				return nope;
			}
		})).setHeader("Verified");
		
		grid.setItems("1","0");
		add(grid);

This is a short animated gif showing the described behavior:
gridiconsproblem

@TatuLund
Copy link

I think this is duplicate of

vaadin/vaadin-grid#1563

and

vaadin/vaadin-grid#1563

Which are luckily fixed in next release of Vaadin 12 & 13.

@web-padawan
Copy link
Member

Yes, that's also duplicate of vaadin/flow#5025 which is already fixed in Flow.
We understand the importance of this issue so the team will take care of delivering the fix ASAP.

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

No branches or pull requests

3 participants