Skip to content
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

Improve performance on iOS #356

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

maksg
Copy link
Contributor

@maksg maksg commented May 23, 2024

Details

On iOS TextView was very slow and unreliable. This PR improves the performance by quite a lot by removing some unnecessary code and simplifying parsing logic.

@maksg maksg force-pushed the @maksg/performance-fixes-ios branch 3 times, most recently from 2bc06d9 to bc558d9 Compare May 27, 2024 10:15
ios/RCTUITextView+Markdown.mm Show resolved Hide resolved
ios/RCTUITextView+Markdown.mm Outdated Show resolved Hide resolved
ios/MarkdownTextInputDecoratorView.mm Outdated Show resolved Hide resolved
ios/MarkdownTextInputDecoratorView.mm Outdated Show resolved Hide resolved
ios/RCTMarkdownUtils.mm Outdated Show resolved Hide resolved
ios/RCTMarkdownUtils.mm Outdated Show resolved Hide resolved
@maksg maksg force-pushed the @maksg/performance-fixes-ios branch from bc558d9 to 5e5985a Compare May 27, 2024 12:30
@maksg maksg force-pushed the @maksg/performance-fixes-ios branch from 8a5ef00 to a2f7e92 Compare September 10, 2024 14:15
@tomekzaw
Copy link
Collaborator

This PR fixes an issue with fontSize and emoji.fontSize not being applied right-away on iOS:

Screen.Recording.2024-09-12.at.11.55.09.mov

@tomekzaw
Copy link
Collaborator

❌ Regression found: text suggestions are instantly converted into regular text

Screen.Recording.2024-09-12.at.11.57.07.mov

@tomekzaw
Copy link
Collaborator

Regression found:

Screen.Recording.2024-09-18.at.09.42.29.mov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants