I have the same problem with Vaadin 12. When can i call notifyResize? Is there an event that the Details are shown? or should i use the click-listener?
BTW … There is no grid.notifyResize() in Vaadin Flow
Similar problem - although with the details component being created synchronously. It’s taller than the details views in the examples. First time a given row shows its details, the space for the details is not large enough and the contents are displayed incorrectly. Second time the same row is displayed it looks correct. This happens with both the Lumo and Material themes. While it is malfunctioning it appears that the details is only given as much room as one normal-sized row.
Was also able to reproduce the issue with synchronously populated details not displaying properly. Investigating what’s causing this. You can use the following inside your details renderer as a workaround for now:
This Problem also exists in regular Vaadin 8. Unfortunately there is no getElement() method in the Grid class. Any ideas how to execute the Javascript on the grid, instead of using Page.getCurrent().getJavaScript().execute() ?