jquery-mobile-simpledialog icon indicating copy to clipboard operation
jquery-mobile-simpledialog copied to clipboard

Apple app mode close button firing reload

Open PlippiePlop opened this issue 13 years ago • 1 comments

When in in apple mobile app mode (putting icon on desk from browser and launch from there)

The close button fires a reload of the page after removing the popup. I tried to prevent this in the callbackClose function() along other things but it still fires off a page reload/refresh.

a href="#" rel="close" data-inline="true" id="closebutton">Cancel /a

It works only if I control the #closebutton outside of the simpledialog2 function call :

$("#closebutton").on("vclick",function(){ e.preventDefault(); $(".ui-simpledialog-container, .ui-simpledialog-screen").remove() return true; ;}

PlippiePlop avatar May 15 '12 11:05 PlippiePlop

It's a memory stack size issue (I think) - basically, the page is bigger than IOS will keep in memory - I'll look for a fix, but I don't know of one. (This is actually the #1 reason I hate the dialog mode)

jtsage avatar Jun 11 '12 21:06 jtsage