Skip to content

docs: fix flexWrap default from 'wrap' to 'nowrap'#767

Open
rafaumeu wants to merge 1 commit into
vercel:mainfrom
rafaumeu:docs/flexwrap-default-759
Open

docs: fix flexWrap default from 'wrap' to 'nowrap'#767
rafaumeu wants to merge 1 commit into
vercel:mainfrom
rafaumeu:docs/flexwrap-default-759

Conversation

@rafaumeu

Copy link
Copy Markdown

Problem (#759)

The README's CSS-support table documents the default value of flexWrap as wrap, but the actual implementation in src/handler/compute.ts defaults to nowrap (Yoga.WRAP_NO_WRAP), matching the CSS spec.

Fix

One-line change in README.md: default to wrap -> default to nowrap

The README incorrectly documented the default value of flexWrap as 'wrap'.
The actual implementation defaults to 'nowrap' (Yoga.WRAP_NO_WRAP),
matching the CSS spec default.
@rafaumeu rafaumeu requested a review from shuding as a code owner June 17, 2026 21:45
@vercel

vercel Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
satori-playground Ready Ready Preview, Comment, Open in v0 Jun 17, 2026 9:45pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant