You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Filip Maj (JIRA)" <ji...@apache.org> on 2012/06/12 02:44:43 UTC
[jira] [Resolved] (CB-47) Alert while Keyboard is open
[ https://issues.apache.org/jira/browse/CB-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Filip Maj resolved CB-47.
-------------------------
Resolution: Cannot Reproduce
Cannot repro with this code:
{code}
<input type="text" onkeyup="navigator.notification.alert('hi');" />
{code}
> Alert while Keyboard is open
> ----------------------------
>
> Key: CB-47
> URL: https://issues.apache.org/jira/browse/CB-47
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Reporter: Shazron Abdullah
> Priority: Minor
>
> reported at: https://github.com/phonegap/phonegap-iphone/issues/298
> by: https://github.com/Limes102
> Hey
> Just noticed that if an alert pops up while the keyboard is open, you have to go to the home screen and then open the app up again, just to dismiss the keyboard. After that you can click 'Okay' or what ever on the UIAlertView
> My quick fix for this was like this:
> @implementation PGNotification_Hacked : PGNotification
> - (void)alert:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options{
> UITextView *Resigner = [[UITextView alloc] autorelease];
> [Resigner resignFirstResponder];
> [super alert:arguments withDict:options];
> }
> @end
> and then I replaced PGNotification with PGNotification_Hacked in PhoneGap.plist
> Thanks
> Aaron
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira