fix(ios): hippy-vue textInput isFocused not working

This commit is contained in:
jonasluo
2022-08-10 17:29:19 +08:00
committed by luomy
parent 101ec99c05
commit e807252ef8
@@ -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(@{});