-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Invalidate NSTextStorage on AttributedString change #38070
Conversation
This pull request was exported from Phabricator. Differential Revision: D47019250 |
Base commit: e1fd4a8 |
Summary: Pull Request resolved: facebook#38070 changelog: [iOS][fix]: Correctly invalidate NSTextStorage when non layout related props change Fixes: facebook#37944 Problem: NSTextStorage was not invalidated if non-layout props were changed. So for example 'color' dynamically changed, it wouldn't get invalidated and font of incorrect color would be rendered on screen. Reviewed By: javache Differential Revision: D47019250 fbshipit-source-id: ba33d542dad2eaa0c3effcf827ad03f37fb11cc0
e2f42dc
to
f02cd90
Compare
This pull request was exported from Phabricator. Differential Revision: D47019250 |
Summary: Pull Request resolved: facebook#38070 changelog: [iOS][fix]: Correctly invalidate NSTextStorage when non layout related props change Fixes: facebook#37944 Problem: NSTextStorage was not invalidated if non-layout props were changed. So for example 'color' dynamically changed, it wouldn't get invalidated and font of incorrect color would be rendered on screen. Reviewed By: javache Differential Revision: D47019250 fbshipit-source-id: 7926253c627788673b2f008d83b15b5374339fbc
f02cd90
to
7a951ac
Compare
This pull request was exported from Phabricator. Differential Revision: D47019250 |
This pull request was successfully merged by @sammy-SC in 247da6e. When will my fix make it into a release? | Upcoming Releases |
This pull request has been merged in 247da6e. |
Summary:
changelog:
[iOS][fix]: Correctly invalidate NSTextStorage when non layout related props change
Fixes: #37944
Problem:
NSTextStorage was not invalidated if non-layout props were changed. So for example 'color' dynamically changed, it wouldn't get invalidated and font of incorrect color would be rendered on screen.
Reviewed By: javache
Differential Revision: D47019250