Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.4.5 - ios9 window.history.back or link does not work #8254

Closed
fabienduval opened this issue Aug 4, 2015 · 5 comments

Comments

Projects
None yet
4 participants
@fabienduval
Copy link

commented Aug 4, 2015

On ios9 beta only, using safari or a webview,
the link won't load/display the second page even if the url in "window.location.href" changed.

I used the page two pages below to test it :
page 1 :
http://jsbin.com/cejotarira/edit?html,output

page 2 :
http://jsbin.com/husakemihu/edit?html,output

Versions used :
jquery v1.11.1
jquery mobile v1.4.5

to reproduce,

  • click on the link on the first page => url in safari changed, content is not loaded
  • inside safari developpers console, use Ctrl+R to refresh the page (the second page is displayed)
  • try a window.history.back() => the page stays the same.

I could make it work by removing the jquerymobile library (there is no specific jquery mobile use one these pages)

@arschmitz

This comment has been minimized.

Copy link
Member

commented Aug 4, 2015

Can you please create a working example? your 2 jsbins are not actually linked and your markup is invalid.

@fabienduval

This comment has been minimized.

Copy link
Author

commented Aug 11, 2015

By including the css I got it working.
However, I still have the problem with a bigger project and I can't find a way to incriminate properly jqm, jquery or simply iOS9.
If someone could help that would be great.

@jaspermdegroot

This comment has been minimized.

Copy link
Member

commented Aug 11, 2015

Closing because not a bug.

@fabienduval - To get help with solving your issue you can post on the forum

@fabienduval

This comment has been minimized.

Copy link
Author

commented Aug 28, 2015

We solved the problem, if someone googles it, the solutions is to use WKWebview instead of the UIWebview.
So it was not a jquery mobile problem, sorry for the trouble.

@sachinkt

This comment has been minimized.

Copy link

commented Sep 10, 2015

@fabienduval, can you please provide the CSS that solved problem for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.