You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Shazron Abdullah (Created) (JIRA)" <ji...@apache.org> on 2011/11/28 21:53:40 UTC
[jira] [Created] (CB-47) Alert while Keyboard is open
Alert while Keyboard is open
----------------------------
Key: CB-47
URL: https://issues.apache.org/jira/browse/CB-47
Project: Apache Callback
Issue Type: Bug
Components: iOS
Reporter: Shazron Abdullah
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
[jira] [Resolved] (CB-47) Alert while Keyboard is open
Posted by "Filip Maj (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Updated] (CB-47) Alert while Keyboard is open
Posted by "Shazron Abdullah (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shazron Abdullah updated CB-47:
-------------------------------
Priority: Minor (was: Major)
> Alert while Keyboard is open
> ----------------------------
>
> Key: CB-47
> URL: https://issues.apache.org/jira/browse/CB-47
> Project: Apache Callback
> 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