-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Clean up _updateSelectionRects
#113425
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
Clean up _updateSelectionRects
#113425
Conversation
|
/cc @fbcouch if you'd like to review this pull request. |
a812a78 to
c1a72a7
Compare
c1a72a7 to
5087484
Compare
justinmc
left a comment
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.
LGTM 👍 Thanks for cleaning this up. Great idea with the _ScribbleCacheKey class.
| ]); | ||
| log.clear(); | ||
|
|
||
| await tester.enterText(find.byType(EditableText), 'Text1👨👩👦'); |
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.
Good call testing extended grapheme clusters 👍
Updated the cache invalidation logic. Also tried to avoid using
text.toPlainText. This is still very expensive to calculate/send, especially when the user is typing.Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.