Wrong layouting when width/height is set 100% #1794
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I found a few simple cases when layouting seems wrong. In these examples the width/height of the first element is set to 100% and the second to auto. And the second element overflows, although it should not
1:
result:
expected:
2:
result:
expected:
for example, in the following html code, there are no such problems:
setting flexShrink to 0 on the inner node solves both problems: