Skip to content

Add prepared text layout RNTester E2E setup (#58414) - #58426

Open
Abbondanzo wants to merge 2 commits into
react:mainfrom
Abbondanzo:export-D119336370
Open

Add prepared text layout RNTester E2E setup (#58414)#58426
Abbondanzo wants to merge 2 commits into
react:mainfrom
Abbondanzo:export-D119336370

Conversation

@Abbondanzo

Copy link
Copy Markdown
Contributor

Summary:

Add an opt-in RNTester E2E configuration that installs the prepared text layout feature-flag provider before React Native starts. An explicit configName selects that configuration directly, while existing tests continue to use the default configurations.

Changelog:
[Internal] - Add an opt-in RNTester E2E configuration for prepared text layout

Differential Revision: D119336370

Summary:
Pull Request resolved: react#58351

Add `experimental_textWidthMode` as a Text style for sizing wrapped text to its widest rendered line on Android and iOS. The `auto` value preserves the existing constrained measurement behavior, while `longest-line` removes unused horizontal space without changing the line count.

Changelog:
[General][Added] - Add experimental longest-line width sizing for wrapped `Text`

Reviewed By: javache

Differential Revision: D118718410
Summary:
Pull Request resolved: react#58414

Add an opt-in RNTester E2E configuration that installs the prepared text layout feature-flag provider before React Native starts. An explicit `configName` selects that configuration directly, while existing tests continue to use the default configurations.

Changelog:
[Internal] - Add an opt-in RNTester E2E configuration for prepared text layout

Differential Revision: D119336370
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 9, 2026
@facebook-github-tools facebook-github-tools Bot added p: Facebook Partner: Facebook Partner labels Sep 9, 2026
@meta-codesync

meta-codesync Bot commented Sep 9, 2026

Copy link
Copy Markdown

@Abbondanzo has exported this pull request. If you are a Meta employee, you can view the originating Diff in D119336370.

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

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant