From 94f126ddbf1e3600ed7d34b8aba444a5df587c58 Mon Sep 17 00:00:00 2001 From: Nick Lockwood Date: Mon, 30 Nov 2015 13:37:37 -0800 Subject: [PATCH] Fixed TextInput.blur() Reviewed By: helouree Differential Revision: D2704065 fb-gh-sync-id: a4f5aa9c9b4fcb7980eb85289d16982840a980bd --- Libraries/Text/RCTTextView.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Libraries/Text/RCTTextView.m b/Libraries/Text/RCTTextView.m index 412dd47ac..34f3b7497 100644 --- a/Libraries/Text/RCTTextView.m +++ b/Libraries/Text/RCTTextView.m @@ -425,6 +425,11 @@ RCT_NOT_IMPLEMENTED(- (instancetype)initWithCoder:(NSCoder *)aDecoder) [_textView reactDidMakeFirstResponder]; } +- (BOOL)resignFirstResponder +{ + return [_textView resignFirstResponder]; +} + - (void)layoutSubviews { [super layoutSubviews];