[
https://issues.apache.org/jira/browse/WEEX-291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16436984#comment-16436984
]
jsonmess commented on WEEX-291:
-------------------------------
造成原因 是:
WXEditComponent 中
- (void)keyboardWillHide:(NSNotification*)notification
{
{color:#FF0000} if (![self.view isFirstResponder]) \{ return; }{color}
UIView * rootView = self.weexInstance.rootView;
if (!CGRectEqualToRect(self.weexInstance.frame, rootView.frame)) \{ [self
setViewMovedUp:NO]; self.weexInstance.isRootViewFrozen = NO; }
if (_keyboardEvent)
Unknown macro: \{ [self fireEvent}
}
- (void)closeKeyboard
{
[self.view resignFirstResponder];
}
在用户点关闭,释放当前响应者,标红色的代码部分,会拦截;所以无法还原,我觉得这行代码最好注释掉。不清楚你们写这行代码的理由!
> <TextArea>组件 iOSSDK 在键盘出来的时候,把WeexRootView origin.y 顶上去,键盘关闭后,无法还原;
> -------------------------------------------------------------------
>
> Key: WEEX-291
> URL: https://issues.apache.org/jira/browse/WEEX-291
> Project: Weex
> Issue Type: Bug
> Reporter: jsonmess
> Assignee: Adam Feng
> Priority: Major
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)