mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Fix Groups text input
Reviewed By: javache Differential Revision: D2590712 fb-gh-sync-id: 453e20970460c703230547d8fd649383ba7d4c4a
This commit is contained in:
committed by
facebook-github-bot-5
parent
4763f89efa
commit
d799558db5
@@ -37,7 +37,7 @@
|
||||
|
||||
- (void)setText:(NSString *)text
|
||||
{
|
||||
if (_text != text) {
|
||||
if (_text != text && ![_text isEqualToString:text]) {
|
||||
_text = [text copy];
|
||||
[self dirtyLayout];
|
||||
[self dirtyText];
|
||||
|
||||
Reference in New Issue
Block a user