Details flicker when it is opened

A Details with a FormLayout inside, like the 2nd example in Details | Components | Vaadin Docs, flickers slightly when it is opened. (looks like content is laid out twice, with different sizes?)
I don’t see any flicker with the non-FormLayout examples.
It is also slightly less noticeable in Chrome than in Firefox. Presumably because Chrome is faster.

Not a big issue, but can anything be done?

Also, I notice that the examples page behaves slightly different in Firefox and Chrome; In Firefox, each example box has a fixed size, while in Chrome, the box resizes as I open/close the Details