mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
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:
committed by
facebook-github-bot-4
parent
dff8f53664
commit
dde55c30ea
@@ -81,6 +81,7 @@
|
||||
_textView.delegate = self;
|
||||
|
||||
_scrollView = [[UIScrollView alloc] initWithFrame:CGRectZero];
|
||||
_scrollView.scrollsToTop = NO;
|
||||
[_scrollView addSubview:_textView];
|
||||
|
||||
_previousSelectionRange = _textView.selectedTextRange;
|
||||
|
||||
Reference in New Issue
Block a user