Skip to content
This repository was archived by the owner on Apr 4, 2026. It is now read-only.

v1.1.2 — Fix text width in row layouts

Latest

Choose a tag to compare

@CharGrnmn CharGrnmn released this 31 Mar 09:18

Bug Fix

  • fix: return actual content width from text measure function — The Yoga measure callback was returning the full available container width for MeasureMode.AtMost instead of the actual text content width. This caused text nodes in flexDirection: 'row' layouts to expand to fill all available space, pushing siblings to the far right. Now uses prepareWithSegments + walkLineRanges to compute the real max line width.