This Fixes scroll to top and resigning first responder

Reviewed By: tadeuzagallo

Differential Revision: D2713488

fb-gh-sync-id: 99b2646f7bf8a3ee889bbb856c298beed6817321
This commit is contained in:
Nick Lockwood authored and facebook-github-bot-4 committed 2015-12-04 07:56:29 -08:00
1 parent dff8f53664
commit dde55c30ea
1 file changed
+1
+1
View File
@@ -81,6 +81,7 @@
_textView.delegate = self;
_scrollView = [[UIScrollView alloc] initWithFrame:CGRectZero];
_scrollView.scrollsToTop = NO;
[_scrollView addSubview:_textView];
_previousSelectionRange = _textView.selectedTextRange;