JQuery .popup(“open") 在 iOS 9 设备上无法正常工作 [英] JQuery .popup("open") not working properly on iOS 9 device

查看:17
本文介绍了JQuery .popup(“open") 在 iOS 9 设备上无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们调用以下的onClick事件

onClick event we call following

  1. $("#popupDialog").popup("open");
  2. $("#popupDialog").popup("open");
  3. $("#username").focus();

弹出窗口出现然后突然消失.

the popup appears and suddenly disappear.

我们在 iOS 设备上遇到了这个问题,因为我们在 iOS 9 之前将 ipad 和 iphone 更新到了 ios 9.

We are facing this issue on iOS devices , since we updated ipad and iphone to ios 9 before iOS 9 it was OK.

移动应用平台:JQuery Mobile 1.4.2 使用 Mobilefirst 6.3 studio

Mobile Application Platform : JQuery Mobile 1.4.2 using Mobilefirst 6.3 studio

我们如何解决这个问题?

How can we fix this issue ?

谢谢,

推荐答案

我在 pop div 中添加了 data-history="false" 并且它现在正在工作

I added data-history="false" to the pop div and it is is working now

这篇关于JQuery .popup(“open") 在 iOS 9 设备上无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆