Menu icon Foundation
App modals not working iPhone5?

Im testing modal dialogs on an iPhone5 and they're not working? When I click the button, the buttons disappear and nothing happens? Works fine on android. Any ideas?

<div id="tabs" class="grid-block shrink">
            <a href="#" zf-open="advancedModal"><img src="assets/img/info_icon.png"></a>
                <div zf-modal="" id="advancedModal" class="collapse">
                <div class="grid-block vertical">
                <div class="primary title-bar">
                <div class="center title">Title Bar</div>
                <span zf-close="" class="left"><a>Close</a></span>
                <span zf-close="" class="right"><a>Done</a></span>
                </div>
                <div class="grid-content padding" style="padding-top: 1rem;">
                <p>
                <img src="assets/img/mountain.jpg">
                </p>
                <a zf-close="" class="button">OK</a>
                <a zf-close="" class="button">Cancel</a>
                </div>
                </div>
          </div>
            

         

iPhone5foundation 6app

Im testing modal dialogs on an iPhone5 and they're not working? When I click the button, the buttons disappear and nothing happens? Works fine on android. Any ideas?

<div id="tabs" class="grid-block shrink">
            <a href="#" zf-open="advancedModal"><img src="assets/img/info_icon.png"></a>
                <div zf-modal="" id="advancedModal" class="collapse">
                <div class="grid-block vertical">
                <div class="primary title-bar">
                <div class="center title">Title Bar</div>
                <span zf-close="" class="left"><a>Close</a></span>
                <span zf-close="" class="right"><a>Done</a></span>
                </div>
                <div class="grid-content padding" style="padding-top: 1rem;">
                <p>
                <img src="assets/img/mountain.jpg">
                </p>
                <a zf-close="" class="button">OK</a>
                <a zf-close="" class="button">Cancel</a>
                </div>
                </div>
          </div>
            

         
Chris Lea over 1 year ago

So it looks like the issue arises because the modal is contained within "grid-block"

elias navarro over 1 year ago

the best aproche to make modals work on iphone, tablet, etc, is programatically:

$scope.foo = "Bloop!";
$scope.bar = "Blee!";
var config = {
id: 'your optional id here',
template: '{{foo}} {{bar}}',
contentScope: {
foo: $scope.foo,
bar: $scope.bar
},
animationIn: 'slideInFromTop'
}
$scope.modal = new ModalFactory(config);

this is because of an issue with ios position:fixed css atribute not working properly, it position to the closest element with position absolute. with the code above, the element is place right before the body tag, so it takes all the view height as expected;
Also, you can add an html file as template, and you will need to wrap all your code inside a div with class that has the grid-frame mixin

.modal-wrapper {
@include grid-frame($orientation: vertical);

@include breakpoint(medium) {
    height: auto;
    max-height: 80vh;
}

}

Amber gandotra 18 days ago
suresh singh 7 days ago

Are you guys looking to play Grand Theft Auto 5 mobile version, then you are at the best place.

Grand Theft Auto 5 APK is now available on android platforms, you people can really enjoy playing this game on your android devices. GTA 5 APK download for Android is a quite easy process. We will help you to download this.by a simple step by step guide provided given below. All you need to do is simply follow the step-by-step procedure by without missing any step.
Note: Don’t worry if you have already installed the previous version of this game like GTA 3 APK, GTA 4 APK etc., you can still download this file and you can run this on your mobile device.

Terini 6 days ago
balrajsahani 5 days ago

uTorrent Pro APK is an efficient Bit torrent client especially for windows platform. This may not be available in official linux operating system. Among these uTorrent Pro Apk download stood at the top position. uTorrent Pro APK supports encryption joint and specification of peers

Source Website :- click here

Jio PHone 4 days ago

Reliance JIO Mobile online.The mobile is going to launch in the market in the month of august. Here in this articlwe we provide you the simple and eaiest process to buy this Reliance JIO Mobile online.

bhangad singh 2 days ago

Battle Bay Pearl Cheats - Battle Bay Unlimited Pearls For Android & iOS Update 2017 For Battle Bay .

 

Injustice 2 Online hack tool is ready to use. No download required.Cheat works on all android and iOS devices and gets you unlimited Credits and Gems for free.