onClick event we call following
- $("#popupDialog").popup("open");
- $("#popupDialog").popup("open");
- $("#username").focus();
the popup appears and suddenly disappear.
We are facing this issue on iOS devices , since we updated ipad and iphone to ios 9 before iOS 9 it was OK.
Mobile Application Platform : JQuery Mobile 1.4.2 using Mobilefirst 6.3 studio
How can we fix this issue ?
Thanks,
I added data-history="false" to the pop div and it is is working now
Daweb
Same problem. Seems that adding
$(document).bind("mobileinit",function(){
$.mobile.hashListeningEnabled=false;
});
has an effect: the pop-up opens one time. But then after closing, the problem comes back.
Still looking into it...
来源:https://stackoverflow.com/questions/32626073/jquery-popupopen-not-working-properly-on-ios-9-device