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:
parent
dff8f53664
commit
dde55c30ea
|
@ -81,6 +81,7 @@
|
||||||
_textView.delegate = self;
|
_textView.delegate = self;
|
||||||
|
|
||||||
_scrollView = [[UIScrollView alloc] initWithFrame:CGRectZero];
|
_scrollView = [[UIScrollView alloc] initWithFrame:CGRectZero];
|
||||||
|
_scrollView.scrollsToTop = NO;
|
||||||
[_scrollView addSubview:_textView];
|
[_scrollView addSubview:_textView];
|
||||||
|
|
||||||
_previousSelectionRange = _textView.selectedTextRange;
|
_previousSelectionRange = _textView.selectedTextRange;
|
||||||
|
|
Loading…
Reference in New Issue