`<TextView>.onContentSizeChange` now fires on ANY content changing circumstances

Reviewed By: blairvanderhoof

Differential Revision: D4625916

fbshipit-source-id: 80191a07edaf404a70a7571ada2d849619407bda
This commit is contained in:
Valentin Shergin 2017-03-06 16:22:18 -08:00 committed by Facebook Github Bot
parent 160b1c8ee5
commit 4040e89ac5
1 changed files with 1 additions and 0 deletions

View File

@ -238,6 +238,7 @@ static NSAttributedString *removeReactTagFromString(NSAttributedString *string)
[_textView layoutIfNeeded]; [_textView layoutIfNeeded];
[self updatePlaceholderVisibility]; [self updatePlaceholderVisibility];
[self updateContentSize];
_blockTextShouldChange = NO; _blockTextShouldChange = NO;
} }