Skip to content

PreparedLayoutTextView: Don't show a selection highlight when tapping on links (all pressable text)#55633

Closed
NickGerleman wants to merge 1 commit into
react:mainfrom
NickGerleman:export-D93820112
Closed

PreparedLayoutTextView: Don't show a selection highlight when tapping on links (all pressable text)#55633
NickGerleman wants to merge 1 commit into
react:mainfrom
NickGerleman:export-D93820112

Conversation

@NickGerleman

Copy link
Copy Markdown
Contributor

Summary:
With origins in Litho's RCTextView, tapping a link in a PreparedLayoutTextView will select the link (as if keyboarding to it), before activating click, then clearing selection.

D86657563 made all pressable text links, so now we show a new selection highlight in a lot of places.

That's a visual difference compared to before, that I am concerned might be breaking. Let's remove it.

Changelog: [Internal]

Differential Revision: D93820112

… on links (all pressable text)

Summary:
With [origins](https://github.com/facebook/litho/blob/55e28e58930a53133620fd32406ec8c3a9116c0c/litho-rendercore-text/src/main/java/com/facebook/rendercore/text/RCTextView.java#L525) in Litho's RCTextView, tapping a link in a PreparedLayoutTextView will select the link (as if keyboarding to it), before activating click, then clearing selection.

D86657563 made all pressable text links, so now we show a new selection highlight in a lot of places.

That's a visual difference compared to before, that I am concerned might be breaking. Let's remove it.

Changelog: [Internal]

Differential Revision: D93820112
@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 Feb 20, 2026
@meta-codesync

meta-codesync Bot commented Feb 20, 2026

Copy link
Copy Markdown

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

@cortinico cortinico left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review automatically exported from Phabricator review in Meta.

@react-native-bot

Copy link
Copy Markdown
Collaborator

Closing as this has been merged in 4ad76b6

@react-native-bot react-native-bot added the Merged This PR has been merged. label Jun 3, 2026
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. fb-exported 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.

4 participants