Check layout instead of style before setting height and width to whatever is set in layout #161
Reference in New Issue
Block a user
No description provided.
Delete Branch "master"
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?
isDimDefined
checks is node.style[axis] is defined while in these places we do not care aboutnode.style[axis]
butnode.layout[axis]
. This caused parent height not to be correctly propagated to children.Can you add a test case?
@vjeux will do
@emilsjolander Does this fix alone that bug with a specific height being passed to the measure function?
@lucasr no. that is more a limitation than a bug
@vjeux updated to include test case. Also changed implementation to avoid some duplicate logic.
nvm this broke a lot of things in the transpiling. Fixing.
Nice, thanks!