Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TextFields] Add identity check in -setTextColor: in MDCTextField (#9480
) This PR adds an identity check in `-setTextColor:` in MDCTextField. This identity check short circuits an infinite loop triggered by `-setTextColor:` under certain mysterious circumstances involving the MDCTextField layout pass and MDCFlexibleHeaderView KVO stuff surrounding safeAreaInset changes. I don't fully understand what's going on tbh :) The internal bug ([b/148159587](http://b/148159587)) has links to before and after gifs in the comments. Closes #9470 ### Update: The internal client who reported the bug was unable to reproduce it with these changes.
- Loading branch information