Bug? setExpandRatio breaks layout when component is updated

I just submitted https://github.com/vaadin/framework/issues/10734 which contains some simple code to illustrate what I believe to be a HorizontalLayout::setExpandRatio bug. Initial rendering of my example layout is fine:

But after the component (in this case a ProgressBar) with the expand ratio is updated, it suddenly becomes too wide:

Bump (sorry).

No-one else seeing this? Any ideas for workarounds?

Ives Aerts:
Bump (sorry).

No-one else seeing this? Any ideas for workarounds?

I have same problem with TextField. Now I have to clear parent layout and add components again… I hope they fix this some day…