Files
react-native/packages
Samuel Susla 247da6ef7f Invalidate NSTextStorage on AttributedString change (#38070)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/38070

changelog:
[iOS][fix]: Correctly invalidate NSTextStorage when non layout related props change

Fixes: https://github.com/facebook/react-native/issues/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: bd5d8e6ee4493791dedbafc64a8b8df48a5681e4
2023-06-26 13:49:47 -07:00
..