[ 
https://issues.apache.org/jira/browse/CB-6974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14037276#comment-14037276
 ] 

Andrey Kurdyumov commented on CB-6974:
--------------------------------------

I could confirm [~dpogue] observation. From my experience real cause for that 
behavior is that when user tap screen, keyboard is shown before the click and 
focus event propagated to WebView. Thus after screen resize, tap coordinates 
remains the same, but INPUT is no longer under tapped area and focus event is 
not fired.
>From my observations this fixed only in iOS 7.1

> Keyboard causes input focus issue
> ---------------------------------
>
>                 Key: CB-6974
>                 URL: https://issues.apache.org/jira/browse/CB-6974
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Keyboard
>    Affects Versions: 3.5.0
>         Environment: iOS 6.1
>            Reporter: Darryl Pogue
>              Labels: iOS
>
> I've confirmed that this issue is caused by the keyboard plugin, because it 
> does not happen when the keyboard plugin is disabled.
> If there is an input on the lower half of the page, when it is tapped, the 
> keyboard will slide up, covering the input and not putting it in focus.
> In my config file I have the following:
> {code:xml|title=config.xml}
>     <preference name="HideKeyboardFormAccessoryBar" value="true" />
>     <preference name="KeyboardShrinksView" value="true" />
>     <preference name="DisableScrollingWhenKeyboardShrinksView" value="false" 
> />
> {code}
> This appears to only happen when the input is on a page that is absolutely 
> positioned.
> The best reference I can find about the issue is 
> http://www.telerik.com/forums/click-on-input-levels-up-the-footer-on-the-keyboard-whitout-change-the-view-!-
>  but the suggested change of setting the body height on deviceReady didn't 
> work for me.
> It does not appear to be related to the status bar (as potentially stated in 
> that thread). Removing the status bar plugin did not fix the problem.
> My guess is that it's related to hiding the accessory bar and intercepting 
> the keyboard opening in Objective C, but I don't know enough about ObjC to 
> know what would cause the focus to be lost :(



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to