Expensify / react-native-live-markdown

Drop-in replacement for React Native's TextInput component with Markdown formatting.
https://www.npmjs.com/package/@expensify/react-native-live-markdown
MIT License
668 stars 45 forks source link

Fix emoji vertical alignment #395

Closed BartoszGrajdek closed 1 week ago

BartoszGrajdek commented 2 weeks ago

Details

This PR changes the positioning of cursor next to an enlarged emoji so that it's in the middle vertically.

Related Issues

GH_LINK https://github.com/Expensify/App/pull/40692

Manual Tests

  1. Change fontSize for emoji in StyleUtils.ts.
  2. Check how cursor behaves next to text
image

Linked PRs

N/A

roryabraham commented 1 week ago

Oooh big green button. Looks like I have write access in here so I'm going to click the big green button :smiling_imp: