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)
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
Unknown Object (File)
Sun, May 26, 8:39 AM
Unknown Object (File)
Apr 5 2024, 12:50 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable