Page MenuHomePhabricator

[native] Prevent text from being highlighted on press when if is no pressable
ClosedPublic

Authored by rohan on Dec 1 2022, 2:06 PM.
Tags
None
Referenced Files
F2117326: D5794.id19082.diff
Wed, Jun 26, 11:09 AM
Unknown Object (File)
Mon, Jun 24, 12:52 AM
Unknown Object (File)
Thu, Jun 13, 3:09 PM
Unknown Object (File)
Wed, Jun 12, 12:44 AM
Unknown Object (File)
Sun, Jun 9, 1:47 AM
Unknown Object (File)
Fri, Jun 7, 1:45 AM
Unknown Object (File)
Wed, May 29, 10:56 PM
Unknown Object (File)
Wed, May 29, 10:56 PM
Subscribers

Details

Summary

We want to only define an onPress handler in MarkdownParagraph if there is a pressable in the message.

Context: https://linear.app/comm/issue/ENG-2389/prevent-text-from-being-highlighted-on-press-when-if-is-no-pressable

Test Plan

The before is attached in the Linear post, and I will attach the after video below.

Diff Detail

Repository
rCOMM Comm
Branch
ENG-2389
Lint
No Lint Coverage
Unit
No Test Coverage