incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Maj (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-47) Alert while Keyboard is open
Date Tue, 12 Jun 2012 00:44:43 GMT

     [ 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

        

Mime
View raw message