mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-16 19:30:29 +00:00
Assign the textView's scrollEnabled property in ASEditableTextNode's didLoad method.
This prevents a mismatch if the scrollEnabled property on ASEditableTextNode is set before the textView is loaded.
This commit is contained in:
parent
eed812dcdf
commit
f988f86f7f
@ -161,7 +161,7 @@
|
||||
|
||||
// Create and configure our text view.
|
||||
_textKitComponents.textView = self.textView;
|
||||
//_textKitComponents.textView = NO; // Unfortunately there's a bug here with iOS 7 DP5 that causes the text-view to only be one line high when scrollEnabled is NO. rdar://14729288
|
||||
_textKitComponents.textView.scrollEnabled = _scrollEnabled;
|
||||
_textKitComponents.textView.delegate = self;
|
||||
#if TARGET_OS_IOS
|
||||
_textKitComponents.textView.editable = YES;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user