cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shazron <...@git.apache.org>
Subject [GitHub] cordova-plugin-dialogs pull request: Fix CB-7734. Changed plugin t...
Date Fri, 17 Apr 2015 18:42:52 GMT
Github user shazron commented on the pull request:

    https://github.com/apache/cordova-plugin-dialogs/pull/39#issuecomment-94049313
  
    Starting over again.
    
    On iOS 8.2, and 7.1 Simulators -- I'm trying to make this "fail". Without your fix:
    ``` alertController.view.frame = [[UIScreen mainScreen] applicationFrame]; ``` when I
add words greater than 1 page, it still scrolls for me? 
    
    I used this test case:
    ```
    function dialogAlert() {
        function alertDismissed() {
            // do something
            alert('dismissed');
        }
        
        var msg = "agj3kl3jtljsdgjl;sjlg;jsl;djglasjgl;jasl;gjlajgljaosgjsajg;aosgjpoagaspgkaokg;askg;kas;lgkasl;kgl;as"
+
            "agj3kl3jtljsdgjl;sjlg;jsl;djglasjgl;jasl;gjlajgljaosgjsajg;aosgjpoagaspgkaokg;askg;kas;lgkasl;kgl;as"+
            "agj3kl3jtljsdgjl;sjlg;jsl;djglasjgl;jasl;gjlajgljaosgjsajg;aosgjpoagaspgkaokg;askg;kas;lgkasl;kgl;as"+
            "agj3kl3jtljsdgjl;sjlg;jsl;djglasjgl;jasl;gjlajgljaosgjsajg;aosgjpoagaspgkaokg;askg;kas;lgkasl;kgl;as"+
            "agj3kl3jtljsdgjl;sjlg;jsl;djglasjgl;jasl;gjlajgljaosgjsajg;aosgjpoagaspgkaokg;askg;kas;lgkasl;kgl;as"+
            "agj3kl3jtljsdgjl;sjlg;jsl;djglasjgl;jasl;gjlajgljaosgjsajg;aosgjpoagaspgkaokg;askg;kas;lgkasl;kgl;as"+
            "agj3kl3jtljsdgjl;sjlg;jsl;djglasjgl;jasl;gjlajgljaosgjsajg;aosgjpoagaspgkaokg;askg;kas;lgkasl;kgl;as"+
            "agj3kl3jtljsdgjl;sjlg;jsl;djglasjgl;jasl;gjlajgljaosgjsajg;aosgjpoagaspgkaokg;askg;kas;lgkasl;kgl;as"+
            "agj3kl3jtljsdgjl;sjlg;jsl;djglasjgl;jasl;gjlajgljaosgjsajg;aosgjpoagaspgkaokg;askg;kas;lgkasl;kgl;as"+
            "agj3kl3jtljsdgjl;sjlg;jsl;djglasjgl;jasl;gjlajgljaosgjsajg;aosgjpoagaspgkaokg;askg;kas;lgkasl;kgl;as"+
            "agj3kl3jtljsdgjl;sjlg;jsl;djglasjgl;jasl;gjlajgljaosgjsajg;aosgjpoagaspgkaokg;askg;kas;lgkasl;kgl;as"+
            "agj3kl3jtljsdgjl;sjlg;jsl;djglasjgl;jasl;gjlajgljaosgjsajg;aosgjpoagaspgkaokg;askg;kas;lgkasl;kgl;as"+
            "agj3kl3jtljsdgjl;sjlg;jsl;djglasjgl;jasl;gjlajgljaosgjsajg;aosgjpoagaspgkaokg;askg;kas;lgkasl;kgl;as"+
            "agj3kl3jtljsdgjl;sjlg;jsl;djglasjgl;jasl;gjlajgljaosgjsajg;aosgjpoagaspgkaokg;askg;kas;lgkasl;kgl;as"+
            "agj3kl3jtljsdgjl;sjlg;jsl;djglasjgl;jasl;gjlajgljaosgjsajg;aosgjpoagaspgkaokg;askg;kas;lgkasl;kgl;as"+
            "agj3kl3jtljsdgjl;sjlg;jsl;djglasjgl;jasl;gjlajgljaosgjsajg;aosgjpoagaspgkaokg;askg;kas;lgkasl;kgl;as"+
            "agj3kl3jtljsdgjl;sjlg;jsl;djglasjgl;jasl;gjlajgljaosgjsajg;aosgjpoagaspgkaokg;askg;kas;lgkasl;kgl;as"+
            "agj3kl3jtljsdgjl;sjlg;jsl;djglasjgl;jasl;gjlajgljaosgjsajg;aosgjpoagaspgkaokg;askg;kas;lgkasl;kgl;as"+
            "agj3kl3jtljsdgjl;sjlg;jsl;djglasjgl;jasl;gjlajgljaosgjsajg;aosgjpoagaspgkaokg;askg;kas;lgkasl;kgl;as"+
            "agj3kl3jtljsdgjl;sjlg;jsl;djglasjgl;jasl;gjlajgljaosgjsajg;aosgjpoagaspgkaokg;askg;kas;lgkasl;kgl;as"+
            "agj3kl3jtljsdgjl;sjlg;jsl;djglasjgl;jasl;gjlajgljaosgjsajg;aosgjpoagaspgkaokg;askg;kas;lgkasl;kgl;as"+
            "agj3kl3jtljsdgjl;sjlg;jsl;djglasjgl;jasl;gjlajgljaosgjsajg;aosgjpoagaspgkaokg;askg;kas;lgkasl;kgl;as"+
            "agj3kl3jtljsdgjl;sjlg;jsl;djglasjgl;jasl;gjlajgljaosgjsajg;aosgjpoagaspgkaokg;askg;kas;lgkasl;kgl;as"+
            "END";
        navigator.notification.alert(
                                     msg, //'You are the winner!',  // message
                                     alertDismissed,         // callback
                                     'Game Over',            // title
                                     'Done'                  // buttonName
                                     );
    }
    ```
    



---
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


Mime
View raw message