Skip to content

Bug in leaf-node measure-func #4

Description

@sedrew

Leaf nodes with percent width + measure func produce wrong height vs Yoga: in rows measure height sticks instead of stretching.

In my custom text layout computes text height via measureFunc, but Flexily discards the returned height the node ends up with wrong height both in columns. Example below.

Yoga comparison #2 (comment)

Bug

Image

Expected

Image

Try to fix #2 (comment)

Tests #3 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions