forked from microsoft/react-native-macos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds
isPressable
prop to TextAttributes (facebook#38585)
Summary: Pull Request resolved: facebook#38585 Although we don't currently use this for iOS and Android, platforms with less performant text hit testing algorithms or input devices like a mouse may wish to only hit test text on mouse move if there are pressable inline spans. This change adds the `isPressable` prop, which has been wired up in JS since facebook@f3bf2e4 to Fabric TextAttributes. Reviewed By: christophpurrer Differential Revision: D47722096 fbshipit-source-id: 325897f81552a733af6cb98c7f382e3f33449c94
- Loading branch information
1 parent
e64756a
commit e6b57b2
Showing
3 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters