Skip to content

Cover runtime font-scale changes after mounting text (#59491) - #59491

Open
javache wants to merge 1 commit into
react:mainfrom
javache:export-D127578740
Open

javache wants to merge 1 commit into
react:mainfrom
javache:export-D127578740

Conversation

@javache

@javache javache commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Summary:

Add runtime font-scale coverage for mounted Text and TextInput under unchanged parent constraints, plus native iOS Text Dynamic Type coverage. Provide general surface-constraint updates with separate queued UI-thread and convenience APIs. Reuse Fantom's text-input object library in the ReactCommon C++ tests so the same native sources are not compiled and linked twice.

Changelog: [Internal]

Differential Revision: D127578740

@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 Oct 26, 2026
@meta-codesync

meta-codesync Bot commented Oct 26, 2026

Copy link
Copy Markdown

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

@meta-codesync meta-codesync Bot changed the title Cover runtime font-scale changes after mounting text Cover runtime font-scale changes after mounting text (#59491) Oct 26, 2026
javache added a commit to javache/react-native that referenced this pull request Oct 26, 2026
Summary:
Pull Request resolved: react#59491

Add runtime font-scale coverage for mounted Text and TextInput under unchanged parent constraints, plus native iOS Text Dynamic Type coverage. Provide general surface-constraint updates with separate queued UI-thread and convenience APIs, keeping existing root dimensions in sync without re-registering roots. Explicitly document the current stale TextInput result before its invalidation fix.

Changelog: [Internal]

Differential Revision: D127578740
javache added a commit to javache/react-native that referenced this pull request Oct 26, 2026
Summary:
Pull Request resolved: react#59491

Add runtime font-scale coverage for mounted Text and TextInput under unchanged parent constraints, plus native iOS Text Dynamic Type coverage. Provide general surface-constraint updates with separate queued UI-thread and convenience APIs, keeping existing root dimensions in sync without re-registering roots. Explicitly document the current stale TextInput result before its invalidation fix.

Changelog: [Internal]

Differential Revision: D127578740
javache added a commit to javache/react-native that referenced this pull request Oct 26, 2026
Summary:
Pull Request resolved: react#59491

Add runtime font-scale coverage for mounted Text and TextInput under unchanged parent constraints, plus native iOS Text Dynamic Type coverage. Provide general surface-constraint updates with separate queued UI-thread and convenience APIs, keeping existing root dimensions in sync without re-registering roots. Explicitly document the current stale TextInput result before its invalidation fix.

Changelog: [Internal]

Differential Revision: D127578740
javache added a commit to javache/react-native that referenced this pull request Oct 26, 2026
Summary:
Pull Request resolved: react#59491

Add runtime font-scale coverage for mounted Text and TextInput under unchanged parent constraints, plus native iOS Text Dynamic Type coverage. Provide general surface-constraint updates with separate queued UI-thread and convenience APIs, keeping existing root dimensions in sync without re-registering roots. Explicitly document the current stale TextInput result before its invalidation fix.

Changelog: [Internal]

Differential Revision: D127578740
javache added a commit to javache/react-native that referenced this pull request Oct 26, 2026
Summary:
Pull Request resolved: react#59491

Add runtime font-scale coverage for mounted Text and TextInput under unchanged parent constraints, plus native iOS Text Dynamic Type coverage. Provide general surface-constraint updates with separate queued UI-thread and convenience APIs, keeping existing root dimensions in sync without re-registering roots. Explicitly document the current stale TextInput result before its invalidation fix.

Changelog: [Internal]

Differential Revision: D127578740
javache added a commit to javache/react-native that referenced this pull request Oct 26, 2026
Summary:
Pull Request resolved: react#59491

Add runtime font-scale coverage for mounted Text and TextInput under unchanged parent constraints, plus native iOS Text Dynamic Type coverage. Provide general surface-constraint updates with separate queued UI-thread and convenience APIs, keeping existing root dimensions in sync without re-registering roots. Explicitly document the current stale TextInput result before its invalidation fix.

Changelog: [Internal]

Differential Revision: D127578740
javache added a commit to javache/react-native that referenced this pull request Nov 16, 2026
Summary:
Pull Request resolved: react#59491

Add runtime font-scale coverage for mounted Text and TextInput under unchanged parent constraints, plus native iOS Text Dynamic Type coverage. Provide general surface-constraint updates with separate queued UI-thread and convenience APIs, keeping existing root dimensions in sync without re-registering roots. Explicitly document the current stale TextInput result before its invalidation fix.

Changelog: [Internal]

Differential Revision: D127578740
javache added a commit to javache/react-native that referenced this pull request Nov 26, 2026
Summary:

Add runtime font-scale coverage for mounted Text and TextInput under unchanged parent constraints, plus native iOS Text Dynamic Type coverage. Provide general surface-constraint updates with separate queued UI-thread and convenience APIs, keeping existing root dimensions in sync without re-registering roots. Explicitly document the current stale TextInput result before its invalidation fix.

Changelog: [Internal]

Differential Revision: D127578740
@github-actions github-actions Bot added the Meta Review Required This PR is considered risky and requires Meta to import it to do more testing before merging. label Nov 26, 2026
javache added a commit to javache/react-native that referenced this pull request Nov 26, 2026
Summary:

Add runtime font-scale coverage for mounted Text and TextInput under unchanged parent constraints, plus native iOS Text Dynamic Type coverage. Provide general surface-constraint updates with separate queued UI-thread and convenience APIs, keeping existing root dimensions in sync without re-registering roots. Explicitly document the current stale TextInput result before its invalidation fix.

Changelog: [Internal]

Differential Revision: D127578740
javache added a commit to javache/react-native that referenced this pull request Nov 26, 2026
Summary:
Pull Request resolved: react#59491

Add runtime font-scale coverage for mounted Text and TextInput under unchanged parent constraints, plus native iOS Text Dynamic Type coverage. Provide general surface-constraint updates with separate queued UI-thread and convenience APIs, keeping existing root dimensions in sync without re-registering roots. Explicitly document the current stale TextInput result before its invalidation fix.

Changelog: [Internal]

Differential Revision: D127578740
javache added a commit to javache/react-native that referenced this pull request Nov 26, 2026
Summary:
Pull Request resolved: react#59491

Add runtime font-scale coverage for mounted Text and TextInput under unchanged parent constraints, plus native iOS Text Dynamic Type coverage. Provide general surface-constraint updates with separate queued UI-thread and convenience APIs, keeping existing root dimensions in sync without re-registering roots. Explicitly document the current stale TextInput result before its invalidation fix.

Changelog: [Internal]

Differential Revision: D127578740
javache added a commit to javache/react-native that referenced this pull request Nov 26, 2026
Summary:
Pull Request resolved: react#59491

Add runtime font-scale coverage for mounted Text and TextInput under unchanged parent constraints, plus native iOS Text Dynamic Type coverage. Provide general surface-constraint updates with separate queued UI-thread and convenience APIs, keeping existing root dimensions in sync without re-registering roots. Explicitly document the current stale TextInput result before its invalidation fix.

Changelog: [Internal]

Differential Revision: D127578740
javache added a commit to javache/react-native that referenced this pull request Nov 26, 2026
Summary:
Pull Request resolved: react#59491

Add runtime font-scale coverage for mounted Text and TextInput under unchanged parent constraints, plus native iOS Text Dynamic Type coverage. Provide general surface-constraint updates with separate queued UI-thread and convenience APIs, keeping existing root dimensions in sync without re-registering roots. Explicitly document the current stale TextInput result before its invalidation fix.

Changelog: [Internal]

Differential Revision: D127578740
javache added a commit to javache/react-native that referenced this pull request Nov 26, 2026
Summary:
Pull Request resolved: react#59491

Add runtime font-scale coverage for mounted Text and TextInput under unchanged parent constraints, plus native iOS Text Dynamic Type coverage. Provide general surface-constraint updates with separate queued UI-thread and convenience APIs, keeping existing root dimensions in sync without re-registering roots. Explicitly document the current stale TextInput result before its invalidation fix.

Changelog: [Internal]

Differential Revision: D127578740
javache added a commit to javache/react-native that referenced this pull request Nov 27, 2026
Summary:
Pull Request resolved: react#59491

Add runtime font-scale coverage for mounted Text and TextInput under unchanged parent constraints, plus native iOS Text Dynamic Type coverage. Provide general surface-constraint updates with separate queued UI-thread and convenience APIs, keeping existing root dimensions in sync without re-registering roots.

Changelog: [Internal]

Differential Revision: D127578740
javache added a commit to javache/react-native that referenced this pull request Nov 27, 2026
Summary:
Pull Request resolved: react#59491

Add runtime font-scale coverage for mounted Text and TextInput under unchanged parent constraints, plus native iOS Text Dynamic Type coverage. Provide general surface-constraint updates with separate queued UI-thread and convenience APIs, keeping existing root dimensions in sync without re-registering roots.

Changelog: [Internal]

Differential Revision: D127578740
Summary:
Pull Request resolved: react#59491

Add runtime font-scale coverage for mounted Text and TextInput under unchanged parent constraints, plus native iOS Text Dynamic Type coverage. Provide general surface-constraint updates with separate queued UI-thread and convenience APIs. Reuse Fantom's text-input object library in the ReactCommon C++ tests so the same native sources are not compiled and linked twice.

Changelog: [Internal]

Differential Revision: D127578740
javache added a commit to javache/react-native that referenced this pull request Nov 30, 2026
Summary:
Pull Request resolved: react#59491

Add runtime font-scale coverage for mounted Text and TextInput under unchanged parent constraints, plus native iOS Text Dynamic Type coverage. Provide general surface-constraint updates with separate queued UI-thread and convenience APIs. Reuse Fantom's text-input object library in the ReactCommon C++ tests so the same native sources are not compiled and linked twice.

Changelog: [Internal]

Differential Revision: D127578740
@github-actions github-actions Bot removed the Meta Review Required This PR is considered risky and requires Meta to import it to do more testing before merging. label Nov 30, 2026

This branch has not been deployed

No deployments
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