cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Kotikov (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CB-8762) backbutton event does not fire if softkeyboard open for input on popup - windows 8.1
Date Thu, 07 May 2015 13:47:00 GMT

     [ https://issues.apache.org/jira/browse/CB-8762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vladimir Kotikov closed CB-8762.
--------------------------------
    Resolution: Invalid

Closing this as unrelated to Cordova. [~patrickcoote], feel free to reopen if needed.

> backbutton event does not fire if softkeyboard open for input on popup - windows 8.1
> ------------------------------------------------------------------------------------
>
>                 Key: CB-8762
>                 URL: https://issues.apache.org/jira/browse/CB-8762
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: WP8
>    Affects Versions: 3.6.3
>         Environment: Windows Phone 8.1 devices / emulators
>            Reporter: Patrick Coote
>            Assignee: Vladimir Kotikov
>              Labels: WP8.1
>
> Using cordova 3.6.3 jquery 1.3.2 Jquery mobile 1.7.2
> app is hybrid html5 app that runs on windows, ios and android
> Issue is that backbutton event does not fire if the softkeyboard is open for an input
that is on a popup
> Issue is on Windows 8.1 devices:
> ondeviceready i add event listener for backbutton
> document.addEventListener("backbutton", backButtonHandler, false);
> If the input is not on a popup and the softkeyboard is open the backButtonHandler is
called if the user taps the device backbutton
> If the input is on an open popup, such as
> <div data-role="popup" class="popupClass" id="popupOption" style="text-align:center;"/>
>     <input type="number" name="mobileNumber" id="mobileNumber" />
> </div>
> and the softkeyboard is not displayed the backButtonHandler is called when the user taps
the device back button 
> If the softkeyboard is displayed (input on the popup has focus) and the user taps the
device back button then backButtonHandler is not called
> What happens is the input blurs and focuses a number of times (i have binded to these
events on the input to test)
> On screen the keyboard appears to close and open rapidly, once for each tap of the device
back button
> On windows 8.0 device or android (device or emulator) the behaviour is slightly different:
> If the keyboard is open and the user taps the device back button the backButtonHandler
is not called but the keyboard closes as i expect it to
> I would expect the backbutton event to be fired when the input on a popup is focused
(softkeyboard open) in the same way as if the input is not on a popup



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message