jquery mobile's popup widget doesn't play well with Chrome -
jquery mobile's popup widget doesn't play well with Chrome -
unfortunately, can't reproduce issue in jsfiddle, test file reproduces issue: github file
basically, have standard popup , close button within popup. can open popup. can close popup. can on , on 1 time again without problem.
however, when bind "popupafterclose" event popup, reopens popup after receiving event. weird happens. on iphone 5s's chrome (v38.0.2125.67), after sec close, page goes beyond popup , previous page, if hitting "back" twice.
this happens on phone's chrome. test page works fine on phone's safari. works fine on mac's chrome (v38.0.2125.104).
i suspect may sort of bug prevention mechanism (like preventing many popups or infinite loops), wanted confirm. i'm hoping i'm doing wrong in code.
if comment out "popupafterclose" event, you'll see can open/close popup 1 time again , 1 time again in every browser including mobile chrome. automatically re-opening popup , closing leads backing out twice.
you may wondering why want open popup after closed it. app has "play" function initiates popup. upon closing it, want go on "play" after popup closes, , time later, popup may initiate popup again. after closing sec instance of popup, app backs out of itself.
google-chrome jquery-mobile popup
Comments
Post a Comment