Skip to content

[Reproducer] Uncontrolled TextInput loses typed text after a text size or text color change on iOS - #60080

Draft
chocky335 wants to merge 1 commit into
react:mainfrom
chocky335:repro-ios-uncontrolled-textinput-text-size
Draft

chocky335 wants to merge 1 commit into
react:mainfrom
chocky335:repro-ios-uncontrolled-textinput-text-size

Conversation

@chocky335

@chocky335 chocky335 commented Nov 17, 2026 •

Copy link
Copy Markdown

Summary:

Reproducer for #60081, not for merging. It changes only RNTesterPlayground.js.

On iOS, an uncontrolled TextInput loses the typed text after a Dynamic Type change or a style.color change. The Playground shows four inputs that share one style: uncontrolled single-line, uncontrolled multiline, uncontrolled with defaultValue, and controlled.

Changelog:

[INTERNAL] - Reproducer for #60081, not for merging

Test Plan:

  1. Run RNTester on an iOS simulator (New Architecture) and open the Playground tab.
  2. Type into each input.
  3. Press "Toggle text color", or run xcrun simctl ui booted content_size accessibility-large.
  4. Expected: every input keeps its text. Actual: both inputs without defaultValue clear, the defaultValue input resets to "default", and the controlled input keeps its text.

RNTester built from source on main (c761862), iPhone 17 Pro simulator, iOS 26.5.

rn-textinput-color

@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 Nov 17, 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant