mirror of
https://github.com/Tencent/Hippy.git
synced 2026-10-29 14:10:47 +08:00
fix(ios): hippy-vue textInput isFocused not working
This commit is contained in:
@@ -297,6 +297,10 @@ HIPPY_NOT_IMPLEMENTED(-(instancetype)initWithCoder : (NSCoder *)aDecoder)
|
||||
return [_textView becomeFirstResponder];
|
||||
}
|
||||
|
||||
- (BOOL)isFirstResponder {
|
||||
return [_textView isFirstResponder];
|
||||
}
|
||||
|
||||
- (void)textview_becomeFirstResponder {
|
||||
if (_onFocus) {
|
||||
_onFocus(@{});
|
||||
|
||||
Reference in New Issue
Block a user