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
670 stars 45 forks source link

Incorrect position of cursor after undoing changes on web #324

Open Skalakid opened 2 months ago

Skalakid commented 2 months ago

Reported by @BartoszGrajdek

Details

After pasting content between the content of live markdown input, and then undoing them, the cursor is in the incorrect position

https://github.com/Expensify/react-native-live-markdown/assets/39538890/cd885907-a36b-46ab-8a5b-580d0a49a995