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, 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)
Sun, Dec 15, 2:43 AM
Unknown Object (File)
Nov 9 2024, 11:50 AM
Unknown Object (File)
Nov 9 2024, 11:50 AM
Unknown Object (File)
Nov 9 2024, 11:49 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable