Skip to content

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

Open
NickGerleman wants to merge 1 commit intofacebook:mainfrom
NickGerleman:export-D93820112
Open

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

Conversation

@NickGerleman
Copy link
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
Copy link

meta-codesync bot commented Feb 20, 2026

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

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 meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments