Closed QichenZhu closed 3 days ago
Emoji characters are automatically assigned an AppleColorEmoji NSFont and the original font is moved to NSOriginalFont. We need to remove these attributes before comparison.
AppleColorEmoji
NSFont
NSOriginalFont
$ https://github.com/Expensify/App/issues/44495 PROPOSAL: https://github.com/Expensify/App/issues/44495#issuecomment-2197194378
Expected Result: Able to select a word.
Friendly bump @tomekzaw
Details
Emoji characters are automatically assigned an
AppleColorEmoji
NSFont
and the original font is moved toNSOriginalFont
. We need to remove these attributes before comparison.Related Issues
$ https://github.com/Expensify/App/issues/44495 PROPOSAL: https://github.com/Expensify/App/issues/44495#issuecomment-2197194378
Manual Tests
Expected Result: Able to select a word.
Screen recordings
Before: https://github.com/Expensify/react-native-live-markdown/assets/57348009/ea8ae269-b73f-46a5-96b8-d97feafb606c After: https://github.com/Expensify/react-native-live-markdown/assets/57348009/e6d21184-47f5-4390-b5f1-64169fa766edLinked PRs