Skip to content

Derive multiline TextInput state from props (#59218) - #59218

Closed
cipolleschi wants to merge 1 commit into
react:mainfrom
cipolleschi:export-D126285220
Closed

cipolleschi wants to merge 1 commit into
react:mainfrom
cipolleschi:export-D126285220

Conversation

@cipolleschi

@cipolleschi cipolleschi commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary:

Use TextInputProps::multiline as the source of truth for multiline checks instead of inferring it from the backed UIKit class. This keeps responder offset and selection restoration logic aligned with the declarative props.

Changelog: [Internal]

Reviewed By: Abbondanzo

Differential Revision: D126285220

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

meta-codesync Bot commented Oct 20, 2026

Copy link
Copy Markdown

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

@meta-codesync meta-codesync Bot changed the title Derive multiline TextInput state from props Derive multiline TextInput state from props (#59218) Oct 22, 2026
cipolleschi added a commit to cipolleschi/react-native that referenced this pull request Oct 22, 2026
Summary:

Use `TextInputProps::multiline` as the source of truth for multiline checks instead of inferring it from the backed UIKit class. This keeps responder offset and selection restoration logic aligned with the declarative props.

Changelog: [Internal]

Differential Revision: D126285220
cipolleschi added a commit to cipolleschi/react-native that referenced this pull request Oct 22, 2026
Summary:
Pull Request resolved: react#59218

Use `TextInputProps::multiline` as the source of truth for multiline checks instead of inferring it from the backed UIKit class. This keeps responder offset and selection restoration logic aligned with the declarative props.

Changelog: [Internal]

Differential Revision: D126285220
Summary:

Use `TextInputProps::multiline` as the source of truth for multiline checks instead of inferring it from the backed UIKit class. This keeps responder offset and selection restoration logic aligned with the declarative props.

Changelog: [Internal]

Reviewed By: Abbondanzo

Differential Revision: D126285220
@github-actions

Copy link
Copy Markdown

Visual regression

No visual differences at 8558b85bf47b.

android: no capture

@meta-codesync meta-codesync Bot closed this in 83a76fa Oct 26, 2026
@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @cipolleschi in 83a76fa

When will my fix make it into a release? | How to file a pick request?

@react-native-bot react-native-bot added the Merged This PR has been merged. label Oct 26, 2026
@meta-codesync

meta-codesync Bot commented Oct 26, 2026

Copy link
Copy Markdown

This pull request has been merged in 83a76fa.

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. Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants