From dde55c30eaf549f1bbab9812a469c42863ea082a Mon Sep 17 00:00:00 2001 From: Nick Lockwood Date: Fri, 4 Dec 2015 06:59:14 -0800 Subject: [PATCH] This Fixes scroll to top and resigning first responder Reviewed By: tadeuzagallo Differential Revision: D2713488 fb-gh-sync-id: 99b2646f7bf8a3ee889bbb856c298beed6817321 --- Libraries/Text/RCTTextView.m | 1 + 1 file changed, 1 insertion(+) diff --git a/Libraries/Text/RCTTextView.m b/Libraries/Text/RCTTextView.m index eda22a421..6c6200692 100644 --- a/Libraries/Text/RCTTextView.m +++ b/Libraries/Text/RCTTextView.m @@ -81,6 +81,7 @@ _textView.delegate = self; _scrollView = [[UIScrollView alloc] initWithFrame:CGRectZero]; + _scrollView.scrollsToTop = NO; [_scrollView addSubview:_textView]; _previousSelectionRange = _textView.selectedTextRange;