react-native-live-markdown
react-native-live-markdown copied to clipboard
fix: find the caret domrect with largest bottom value
Details
Related Issues
$ https://github.com/Expensify/App/issues/46389 PROPOSAL: https://github.com/Expensify/App/issues/46389#issuecomment-2255658889
Manual Tests
- Add
overflowandmaxHeightattribute in: https://github.com/Expensify/react-native-live-markdown/blob/main/example/src/App.tsx#L190-L196 - Run example web app
- Insert multiple-line text until a scroll bar is shown on the right
- On a new line insert a markdown text (eg. bold)
- Hit the enter key on the keyboard
Verify that: the text input should scroll automatically down to reveal the new line.