You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by cjpearson <gi...@git.apache.org> on 2015/04/02 02:13:36 UTC

[GitHub] cordova-plugin-dialogs pull request: CB-8773: Fix for iOS 8 keyboa...

GitHub user cjpearson opened a pull request:

    https://github.com/apache/cordova-plugin-dialogs/pull/50

    CB-8773: Fix for iOS 8 keyboard not appearing on prompt

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cjpearson/cordova-plugin-dialogs CB-8773

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-plugin-dialogs/pull/50.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #50
    
----
commit 9570b1fa457a284923f1db80a088d638053acf6c
Author: Connor Pearson <cj...@gmail.com>
Date:   2015-04-02T00:12:11Z

    CB-8773: Fix for iOS 8 keyboard not appearing on prompt

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] cordova-plugin-dialogs pull request: CB-8773: Fix for iOS 8 keyboa...

Posted by sean-hill <gi...@git.apache.org>.
Github user sean-hill commented on the pull request:

    https://github.com/apache/cordova-plugin-dialogs/pull/50#issuecomment-89077944
  
    :+1: 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] cordova-plugin-dialogs issue #50: CB-8773: Fix for iOS 8 keyboard not appear...

Posted by dirkpostma <gi...@git.apache.org>.
Github user dirkpostma commented on the issue:

    https://github.com/apache/cordova-plugin-dialogs/pull/50
  
    For ionic users who suffer the same problem, I found a workaround by applying a 500ms timeout. 
    It's bad UX because of the delay, but at least the keyboard is not dismissed anymore.
    
    >         function promptIOS(message, title, value) {
    >             return $timeout(function() {
    >                 return $cordovaDialogs.prompt(_.defaults(message, ""), _.defaults(title, "Type een omschrijving"), ['Cancel', 'OK'], value)
    >                     .then(function(result) {
    >                         var input = result.input1;
    >                         // no button = 0, 'Cancel' = 1, 'OK' = 2
    >                         var buttonIndex = result.buttonIndex;
    > 
    >                         if (buttonIndex == 2) {
    >                             // OK pressed
    >                             return $q.resolve(result.input1);
    >                         } else {
    >                             // Cancel
    >                             return $q.reject("user pressed cancel");
    >                         }
    >                     });
    >                 }, 500);
    >         }


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] cordova-plugin-dialogs issue #50: CB-8773: Fix for iOS 8 keyboard not appear...

Posted by dirkpostma <gi...@git.apache.org>.
Github user dirkpostma commented on the issue:

    https://github.com/apache/cordova-plugin-dialogs/pull/50
  
    I still suffer from keyboard not appearing on prompt, this fix doesn't seem to work for me.
    I tried to debug, but couldn't find the cause. I tried setting a breakpoint in didPresentAlertView in file CDVNotification.m, but the method is never executed.
    
    
    More info:
    
    iPhone 7
    iOS 10.2
    cordova-plugin-dialogs 1.3.1
    Cordova CLI: 6.3.1
    OS: Mac OS X El Capitan
    Node Version: v5.0.0
    Xcode version: Xcode 8.2.1 Build version 8C1002 
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] cordova-plugin-dialogs pull request #50: CB-8773: Fix for iOS 8 keyboard not...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/cordova-plugin-dialogs/pull/50


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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