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
853 stars 61 forks source link

Content jumps when adding newline on Android with New Architecture enabled #36

Open tomekzaw opened 11 months ago

tomekzaw commented 11 months ago

06c184dd3cb679de0abeaa9e8d37f7fb634f2c7d + Android + Paper

https://github.com/tomekzaw/react-native-markdown-text-input/assets/20516055/9e092846-d161-4ce2-8eb2-6ae003e7e7a6

This might be an issue in React Native itself:

https://github.com/tomekzaw/react-native-markdown-text-input/assets/20516055/92f91df6-7ef3-4b20-8f0a-671dfaed013c

tomekzaw commented 2 months ago

Indeed, this is an issue in React Native itself (only on New Architecture).

Here's some proof from RN 0.75 on Android on Fabric:

`MarkdownTextInput` RN's `TextInput` with @jp's patch (https://github.com/facebook/react-native/pull/42331) for newlines