Padding on container parent is not applied to children #455
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?
As you can see, the parent element has padding set to 36, but, it's first child is
top
is 3.3333.@dshahidehpour I just had a look, but I can't reproduce it. I used the following test:
and this one passes. I just had to enable the
YGExperimentalFeatureMinFlexFix
to workaround the problem with the max-width. Could this be you're problem too? But maybe I did a mistake in converting the test.@woehrl01 Did you try setting the #padding_issue_455 to have a size of {375, 202} and verify the padding is still correct? Enabling the MinFlexFix didn't fix this for me.
Also, if it helps, That layout above is being calculated via YogaKit
this failes
but only on the left values not top:
Unfortunately I can't look into this deeper in the next days.