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
Unknown Object (File)
Fri, Jan 10, 11:02 PM
Unknown Object (File)
Thu, Jan 9, 6:06 PM
Unknown Object (File)
Wed, Jan 8, 7:05 PM
Unknown Object (File)
Thu, Jan 2, 12:38 AM
Unknown Object (File)
Thu, Jan 2, 12:38 AM
Unknown Object (File)
Thu, Jan 2, 12:36 AM
Unknown Object (File)
Thu, Jan 2, 12:21 AM
Unknown Object (File)
Dec 15 2024, 2:43 AM
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