-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use NSTextStorageDelegate
instead of method swizzling
#520
base: main
Are you sure you want to change the base?
Conversation
Regression: Cursor is shifted to the right when adding a newline after a blockquote Screen.Recording.2024-10-17.at.11.38.34.mov |
Bug: spellcheck completely disappears when adding Markdown syntax Screen.Recording.2024-10-21.at.20.50.18.mov |
…TextFieldObserver`
9a4f995
to
40abeba
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🪨 🪨
TODO: confirm that removing react-native-live-markdown/apple/RCTMarkdownUtils.mm Lines 66 to 74 in 1fa1b54
|
Bug IOS: removing multiline prop breaks markdown formatting Screen.Recording.2024-11-18.at.13.09.20.movReproduction steps:
|
Bugs mentioned in #520 (comment) and #520 (comment) are still reproducible |
Bugs IOS E/App:
Screen.Recording.2024-11-18.at.16.41.41.mov
Screen.Recording.2024-11-18.at.16.46.39.mov
Screen.Recording.2024-11-18.at.16.49.13.mov |
I've tested this pr on example app on all platforms and directly in Expensify App on all platforms and I could not find more bugs or issues. |
#520 (comment) should be fixed in 1c432fe Screen.Recording.2024-11-20.at.16.42.28.mov |
As for bug mentioned in #520 (comment), this also happens on main so it's not an regression:
Similarly for #520 (comment), the behavios is same as on main:
|
Bug: after removing blockquote, the cursor is shifted to the right and overlays the placeholder Screen.Recording.2024-11-20.at.18.10.33.mov |
#520 (comment) should be fixed with c00c440 Screen.Recording.2024-11-26.at.17.23.19.mov |
Details
Work in progress.
This PR is supposed to fix these issues:
NSRange
toUITextRange
on iOS #191Related Issues
GH_LINK
Manual Tests
Linked PRs