Move this topic
Hi guys,
I have a Phonegap app with Jquery mobile in the AppStore.
I recently updated my phone to IOS 9 and the scroll stop worked. Im also having problem with the navigation inside the app. The app random redirect the user to the previous page when the user press a link or sometimes when the app makes ajax calls.
I know that IOS 9 have a lots of bugs already but i really need to fix this problem, because the app is actually in production and the users are reporting the same problem.
I found some problems related to Safari in IOS 9 but i had no luck with the scroll problem.
In IOS 8 and below the app work fine.
Thank you very much in advance for any help.
Edit: Sorry for the vague description about the problem, here is more info in order to try to figure out what could be the real problem:
More info about the proyect:
Phonegap
Version: 4.2.0
Jquery
Version: 1.8.2
Jquery
Mobile Version: 1.2.0
Phonegaps
plugins actually used:
com.phonegap.plugins.barcodescanner 2.2.0 "BarcodeScanner"
com.phonegap.plugins.facebookconnect 0.11.0 "Facebook Connect"
com.phonegap.plugins.oauthio 0.1.1 "OAuth.io"
org.apache.cordova.dialogs 0.3.0 "Notification"
org.apache.cordova.geolocation 0.3.12 "Geolocation"
org.apache.cordova.inappbrowser 0.6.0 "InAppBrowser"
org.apache.cordova.network-information 0.2.15 "Network Information"
The plugins are working fine.
I already tried the hashListeningEnbale = false trick
Some users say that adding this code between jquery and jquery mobile import can fix the navigation problem, but i had any luck:
<script type="text/javascript">
$(document).bind("mobileinit", function(){
$.mobile.hashListeningEnabled = false;
});
</script>
I also add data-history= false to all the pages but still no luck.
Here is a example code of one of the pages of my apps. There ir more than 10.000 line of codes and having no clue about the problem is a little bit hard to give some example code related to the real problem.
Basically is a page with a header, content and a footer.
- <div data-role="header" data-theme="a" data-position="fixed" data-tap-toggle="false" data-id="hh1">
- <div id="ios7"></div>
- <div data-role="navbar">
- <ul data-inset="true">
- <li><div class="common"></div></li>
- <li><div class="common"></div></li>
- <li><div class="logoApp common"></div></li>
- <li><div class="common"></div></li>
- <li><div class="common"></div></li>
- </ul>
- </div>
- </div>
- <div data-role="content">
- //HERE A LOT OF STATICS DIVS THAT I LOAD WITH INFO FROM A AJAX CALL (USING JQUERY APPEND FROM A SPECIFYC ID)
-
- </div>
-
-
- <div data-position="fixed" data-tap-toggle="false" data-role="footer" data-id="f1">
- <a href="#three"><img style=" width: 30px;" src="css/images/icon-inicio.png"><p style="color:#32bc98;" class="text-tab"><span id="language_landing_1_1"></span></p></a>
- <a href="#panelreciclaje"><img style=" width: 30px;" src="css/images/icon-reciclar-no.png"><p class="text-tab"><span id="language_landing_2_1"></span></p></a>
- <a href="#feed"><img style=" width: 30px;" src="css/images/icon-noticia-no.png"><p class="text-tab"><span id="language_landing_3_1"></span></p></a>
- <a href="#eleven"><img style=" width: 30px;" src="css/images/icon-premio-no.png"><p class="text-tab"><span id="language_landing_4_1"></span></p></a>
- <a href="#listamas"><img style=" width: 30px;" src="css/images/icon-mas-no.png"><p class="text-tab"><span id="language_landing_5_1"></span></p></a>
- </div>
-
-
- </div>
2
Replies(47)
Leave a comment on maxmoore14's reply
Posts with examples we can try usually get some attention.
Those with only vague complaints usually get none.
Hi Watusiware, i dont' want to sound like i'm complaining, sorry
but that wasn't my intention.
<div
data-role="page" id="three" >
I don't post any code because i'm trying to figure out what
exactly the problem is. My app is a 10.000+ lines of code and it would
be any help to post the code at that moment.
I can provide more info in order to try to figure out what could be
the problem.
MORE INFO:
Phonegap Version: 4.2.0
Jquery Version: 1.8.2
Jquery Mobile Version: 1.2.0
Phonegaps plugins actually used:
com.phonegap.plugins.barcodescanner 2.2.0 "BarcodeScanner"
com.phonegap.plugins.facebookconnect 0.11.0 "Facebook Connect"
com.phonegap.plugins.oauthio 0.1.1 "OAuth.io"
org.apache.cordova.dialogs 0.3.0 "Notification"
org.apache.cordova.geolocation 0.3.12 "Geolocation"
org.apache.cordova.inappbrowser 0.6.0 "InAppBrowser"
org.apache.cordova.network-information 0.2.15 "Network Information"
The plugins are working fine.
Example of a single page of my app:
- <div data-role="header" data-theme="a" data-position="fixed" data-tap-toggle="false" data-id="hh1">
- <div id="ios7"></div>
- <div data-role="navbar">
- <ul data-inset="true">
- <li><div class="common"></div></li>
- <li><div class="common"></div></li>
- <li><div class="logoApp common"></div></li>
- <li><div class="common"></div></li>
- <li><div class="common"></div></li>
- </ul>
- </div>
- </div>
- <div data-role="content">
- //HERE A LOT OF STATICS DIV THAT I LOAD WITH INFO FROM A AJAX CALL (USING JQUERY APPEND FROM A SPECIFYC ID)
-
- </div>
-
-
- <div data-position="fixed" data-tap-toggle="false" data-role="footer" data-id="f1">
- <a href="#three"><img style=" width: 30px;" src="css/images/icon-inicio.png"><p style="color:#32bc98;" class="text-tab"><span id="language_landing_1_1"></span></p></a>
- <a href="#panelreciclaje"><img style=" width: 30px;" src="css/images/icon-reciclar-no.png"><p class="text-tab"><span id="language_landing_2_1"></span></p></a>
- <a href="#feed"><img style=" width: 30px;" src="css/images/icon-noticia-no.png"><p class="text-tab"><span id="language_landing_3_1"></span></p></a>
- <a href="#eleven"><img style=" width: 30px;" src="css/images/icon-premio-no.png"><p class="text-tab"><span id="language_landing_4_1"></span></p></a>
- <a href="#listamas"><img style=" width: 30px;" src="css/images/icon-mas-no.png"><p class="text-tab"><span id="language_landing_5_1"></span></p></a>
- </div>
-
-
- </div>
Leave a comment on watusiware's reply
That's totally fair. I'm working on my issue now. It may be slightly different that this one, so I'll create my own post.
Hi Maxmore, i'm trying to collect more info about this problem, if you have some similar issue it would be nice to know what is this problem.
Leave a comment on maxmoore14's reply
I have the same problem , I tried everything and nothing is resolved , ah 5 days . Help!!!
Leave a comment on Vinicius ApliMed's reply
Just about everyone has determined that it is a Phonegap
problem. Post there!
JΛ̊KE
Hi Jakecigar,
How do you know that is a Phonegap problem? Can you please provide
some info about that in order to try to understand what could be the
problem exactly.
Thank you very much.
Go through this forum. There have been several IOS9+Phonegap problems.
None were fixed here.
JΛ̊KE
Leave a comment on jakecigar's reply
Thanks jakecigar for the information.
I hope that i could find the
solution or at least a hot fix.
As an admin of the forum, but not a phoneGap user, I’ve been watching
each post and each response. I wish I had an answer for you.
If your page fails as a normal web site, it’s a JQM problem, it if
only fails in phonegap, it’s not, and we may not be able to fix it.
I hope sending you to the phonegap forums finds a fast solution. It
has to be happening to many of their users.
PLEASE keep us updated with whatever you find.
Good Luck!
JΛ̊KE
Leave a comment on Sebastian Moreno's reply
is not a problem in phonegap is a problem in jquery mobile, jquery mobile websites, they are facing problems with scroll page and navegation in IOS 9! I hope this problem is corrected IOS 9.1.
Share a link to your demo. I have 9.1 on an iPad.
JΛ̊KE
Leave a comment on Vinicius ApliMed's reply
It's likely not specifically a problem with PhoneGap either. From
what I have read of these, they are specific to UIWebView used in a
native app.
PhoneGap uses UIWebView as a default, but there is an option (via
plugin) to use WKWebView for iOS8 or later.
Other frameworks (e.g. Rhodes, Xamarin, etc.) also use UIWebView
and may or may not have the ability to use WKWebView yet. (Rhodes has
a third-party fork that has implemented WKWebView.)
PhoneGap and JQM can/should try to work-around issues like this,
of course. First, they have to be identified. These issues seem to
have blind-sided most, and are still being worked-out. I'd
suggest following the relevant GitHub Issues for PhoneGap (or other
hybrid framework you are using) and jQuery Mobile.
You would have to fix the phoneGap settings, not the JQM files. So far
no problems have been shown that started failing in Safari with IOS9.
Did I miss one?
JΛ̊KE
Leave a comment on watusiware's reply
Jakecigar, if you don't mind you can download and try the app in
this link in order to see the problem.
Leave a comment on Sebastian Moreno's reply
The news page does not scroll. Do you have the app available as a web page?
JΛ̊KE
Exactly thats is one of the problems jakecigar, neither the rewards.
Unfortunately i don't have the app available as a webpage,
but i understand what's the point.
Let my try to open the app in safari from ios9 and check if the
scroll works.
Leave a comment on jakecigar's reply
Jquery Version: 1.8.2Jquery Mobile Version: 1.2.0
Wow,
that's old!
You
should have NO expectation that this will work with current browsers!
Nor that it ever will, because the authors stopped updating that
version long ago.
I thought that could be the problem, but the app was working fine until
IOS9 and i saw other topics having the same problem with current
versions of jquery and jquery mobile, also the last version of phonegap.
I'm going to try a little one page app with the last version of
jquery and jquery mobile in order to figure out if there could be a
problem with this old version.
I also going to try to open the app with safari in order to see if
the problem is related to jquery mobile or phonegap.
I'm going to reply this post with the results.
Thank you very much for the help.
Leave a comment on watusiware's reply
Please don't update previous posts, because most won't notice that they have changed. Put a new post on the end to clarify to provide missing information.
Thank for the tip watusiware.
Leave a comment on watusiware's reply
Just to clarify the situation
More info about the proyect:
Phonegap
Version: 4.2.0
Jquery
Version: 1.8.2
Jquery
Mobile Version: 1.2.0
Phonegaps
plugins actually used:
com.phonegap.plugins.barcodescanner 2.2.0 "BarcodeScanner"
com.phonegap.plugins.facebookconnect 0.11.0 "Facebook Connect"
com.phonegap.plugins.oauthio 0.1.1 "OAuth.io"
org.apache.cordova.dialogs 0.3.0 "Notification"
org.apache.cordova.geolocation 0.3.12 "Geolocation"
org.apache.cordova.inappbrowser 0.6.0 "InAppBrowser"
org.apache.cordova.network-information 0.2.15 "Network Information"
The plugins are working fine.
I already tried the hashListeningEnbale = false trick
Some users say that adding this code between jquery and jquery mobile import can fix the navigation problem, but i had any luck:
<script type="text/javascript">
$(document).bind("mobileinit", function(){
$.mobile.hashListeningEnabled = false;
});
</script>
I also add data-history= false to all the pages but still no luck.
Here is a example code of one of the pages of my apps. There ir more than 10.000 line of codes and having no clue about the problem is a little bit hard to give some example code related to the real problem.
Basically is a page with a header, content and a footer.
- <div data-role="header" data-theme="a" data-position="fixed" data-tap-toggle="false" data-id="hh1">
- <div id="ios7"></div>
- <div data-role="navbar">
- <ul data-inset="true">
- <li><div class="common"></div></li>
- <li><div class="common"></div></li>
- <li><div class="logoApp common"></div></li>
- <li><div class="common"></div></li>
- <li><div class="common"></div></li>
- </ul>
- </div>
- </div>
- <div data-role="content">
- //HERE A LOT OF STATICS DIVS THAT I LOAD WITH INFO FROM A AJAX CALL (USING JQUERY APPEND FROM A SPECIFYC ID)
-
- </div>
-
-
- <div data-position="fixed" data-tap-toggle="false" data-role="footer" data-id="f1">
- <a href="#three"><img style=" width: 30px;" src="css/images/icon-inicio.png"><p style="color:#32bc98;" class="text-tab"><span id="language_landing_1_1"></span></p></a>
- <a href="#panelreciclaje"><img style=" width: 30px;" src="css/images/icon-reciclar-no.png"><p class="text-tab"><span id="language_landing_2_1"></span></p></a>
- <a href="#feed"><img style=" width: 30px;" src="css/images/icon-noticia-no.png"><p class="text-tab"><span id="language_landing_3_1"></span></p></a>
- <a href="#eleven"><img style=" width: 30px;" src="css/images/icon-premio-no.png"><p class="text-tab"><span id="language_landing_4_1"></span></p></a>
- <a href="#listamas"><img style=" width: 30px;" src="css/images/icon-mas-no.png"><p class="text-tab"><span id="language_landing_5_1"></span></p></a>
- </div>
-
-
- </div>
Leave a comment on Sebastian Moreno's reply
Since I see extensive use of IDs, I have to repeat my oft-repeated:
"Use of IDs considered harmful"
Are your IDs all unique across your entire project? If they are
not, you can expect troubles. Troubles that are hard to diagnose,
because they will only show themselves when you navigate specific
combination of pages. Specific navigation paths that you'd never
imagined yourself that users might take.
It is insidious, because it tends to start to become noticeable
at, say, 100 pages (or some other obnoxiously large number of pages
already written...) or so, at which point it has become a big job to fix!
It is very hard to manage not to duplicate an ID across an entire
large project! Which is why I do not use IDs.
There are very few things you NEED an ID for. One of the few is
tying a label to an input, if the HTML doesn't lend itself to
wrapping the input in the label. In that case, I generate a unique ID
in a backend or a static site generator, and then never use that ID
for anything but tying the label to the input.
Everything else, you can use CSS classes, usually in combination
and using local search from a parent (often page, sometimes a list, or
a form, or...) rather than global search.
With a normal, non-JQM document, you load another page, the browser
loads a new document, and the sins of the old document are erased. Not
so with JQM. Your memory leaks will add-up. Your duplicated IDs will
cause problems, even if all the IDs in a given page are unique.
i will double check for duplicates ids.
Thank for the information watusiware.
Leave a comment on watusiware's reply
Hi guys, it's me again with some updates about the issues and
important information.
I tried my app directly through mobile safari, desktop safari,
desktop firefox, desktop google chrome and phonegap and here is the
results of the experiment.
INFO ABOUT THE EXPERIMENT:
PHONEGAP VERSION: 4.2.0
JQUERY VERSION: 1.8.2
JQUERY MOBILE VERSION: 1.2.0
1) [MOBILE] Tested in an iPad Air with IOS 7.1 directly through Safari
Scroll issues: NONE
Navigation issues: NONE
2) [MOBILE] Tested in an iPhone 5 with IOS 9.0 directly through Safari
Scroll issues: NONE
Navigation issues: Random redirect after visit one page
(returning to the previous page) and the app is blocked at this time.
3) [DESKTOP] Tested in Google Chrome 45.0
Scroll issues: NONE
Navigation issues: Random redirect after visit one page
(returning to the previous page) and the app is blocked at this time
(Unable to see any javascript errors about that problem with the
google chrome console, cloud be a css issue?).
4) [DESKTOP] Tested in Firefox 40.0
Scroll issues: NONE
Navigation issues: NONE
5) [DESKTOP] Tested in Safari 8.0.5
Scroll issues: NONE
Navigation issues: NONE
6) [MOBILE] Tested in an iPad Air with IOS 7.1 in Phonegap
Scroll issues: NONE
Navigation issues: NONE
7) [MOBILE] Tested in an iPhone 5 with IOS 9 in Phonegap
Scroll issues: First launch work fine. Second and laters launch
the scroll stop worked.
Navigation issues: Random redirect after visit one page
(returning to the previous page) and the app is blocked at this time.
Results of the experiment:
The scroll issue only happen in phonegap.
The navigation issue happen in some browsers, i was unable to
track the error with the google chrome developer console, it shows 0
javascript errors, i'm thinking that it could be some CSS issue,
not sure, if you have some ideas please comment.
So, It seems to be a mix of problems between Jquery mobile and
Phonegap. I know that the version that i'm using of jquery mobile
is old, so i'm going to make another experiment with a newer
version of jquery and jquery mobile in order to see if the navigation
issue persist.
Now i will create a simple app with the new jquery mobile.
Leave a comment on Sebastian Moreno's reply
I am having the exact same issue. The jquery mobile website works in my
desktop Chrome browser, but does not work when I bring it up in Safari
on my iPod (or iPad) with iOS 9.
I am following this thread closely and appreciate the question and responses.
My experience is when I touch (set focus) to an <input> tag,
the scrolling issue appears and subsequent attempts to set the focus
to the input tag will redirect and freeze.
Leave a comment on jim_langdon's reply
Is a non-starter for current browsers!JQUERY VERSION: 1.8.2JQUERY MOBILE VERSION: 1.2.0
It is unreasonable to expect it to work correctly with browsers
that were released years later.
It's a harsh reality that browsers change rapidly, and in
ways that break existing software. It can be painful to be in a
constant upgrade cycle, but it is necessary. jQuery Mobile 1.3 ->
1.4 was a difficult upgrade with many breaking changes.
But it is necessary.
Start with CURRENT versions of jQuery and jQuery Mobile.
Test with the jQuery Mobile demo site. I always bake a link to it
in my hybrid apps (at least during development, or on some hidden
page) so that I can test in the WebView environment. (You can add this
to your current app that uses 1.2 - just use a data-ajax='false'
on your link to the demo site.)
I am having the exact same issue
When
I see posts here that say that, it's seldom true.
Please
start your own post, and describe your own problems.
For
example, do you use 1.2, as well?
Nobody else mentioned that. Please start your own thread. It will get really confusing really fast if we are discussing a half-dozen different iOS9 issues on one thread, people are using different JQM versions, etc. etc.My experience is when I touch (set focus) to an <input> tag, the scrolling issue appears and subsequent attempts to set the focus to the input tag will redirect and freeze
Thank you very much watusiware for your help.
I completely understand that i need to migrate to the current
version of jquery mobile in order to expect to have a working app in
current browsers, but i needed a hotfix.
Now i'm migrating to jquery 1.4.5 and following your advice.
Leave a comment on watusiware's reply
Gosh, sorry, I really do disagree. I found a lot in common with this
post, and believed I could contribute. Sorry for my "exact"
language. I feel like this forum can get really harsh.
I agree that upgrading to the latest version of JQuery and JQuery
Mobile will resolve the issue. That is what I am finding in my testing
now.
Leave a comment on jim_langdon's reply
Glad an upgrade seems to solve your problem, Jim!
Realize that developers using PhoneGap face unique IOS9 problems
that do not show up in desktop or even mobile browsers.
Leave a comment on watusiware's reply
HOT FIX!!
Some guy in stack overflow reply my question with this hot fix.
"set
style="overflow: auto" for data-role="page" for
iOS 9 alone. the scroll will be sticky some times but it will
resolve the showstopper status temporarily."
This hotfix solve the scroll issue in my case.
Now i'm checking the navigation issue with a new version of
jquery mobile.
Leave a comment on Sebastian Moreno's reply
NEW UPDATE!
Migrating to jquery mobile 1.4.5 solve the scroll and navigation
issues. Now i'm working in some styles issues, but everything
seems to be working fine.
Thank you very much for your help.
Thank you!!!!!
Leave a comment on Sebastian Moreno's reply
Many thanks to all of this forum, I resolved my issues with
phonegap5.2.0 + version 1.4.5 jquery mobile + xcode 6 and 7.
Thank you!
Thank you!
Leave a comment on Vinicius ApliMed's reply
Unfortunately, there is still a problem with jquerymobile 1.4.5
navigation on iOS9 using UIWebView.
I've made a very simple project to reproduce it. There are two
html files:
page1.html - a
page with an external link to the page2.html
page2.html - a
page with a Back button and a link to the page3 which is embedded in
the same file.
It appears as it's only broken in the UIWebView (it works ok
in Safari or WKWebView
or Chrome). Here is an app in the store which can open a webpage
using UIWebView or WKWebView:
The way to reproduce it:
1. get an app and open page1.html using UIWebView
2. click on page 2 link
3. click on page 3 link
4. click Back button from the page 3.
Expected result:
it should return to the page 2
Actual result:
it returns to the page 1
Some
people are mentioning this workaround for this issue:
<script type="text/javascript">
$(document).bind("mobileinit", function(){
$.mobile.hashListeningEnabled = false;
});
</script>
it sort of helps for this
particular issue, but unfortunately it breaks navigation in some
other cases on both ios and android (which makes it unusable).
Because it works in Safari/WKWebView and it's broken only in
UIWebview on iOS 9, i presume it's iOS9 bug, but unfortunately, it
was released, lots of people upgraded and now they are facing (and
reporting) this issue. Is there a way to workaround it in jquerymobile somehow?
Leave a comment on michael_p's reply
page1.html - a page with an external link to the page2.htmlpage2.html - a page with a Back button and a link to the page3 which is embedded in the same file .
jQuery
Mobile doesn't support that.
All
pages in one file.
Or
each page in a separate one.
You
CANNOT mix.
You
will have trouble with this with ANY OS and ANY OS version. Maybe not
the trouble you are noticing right now, but trouble!
Unless
you've done your own Ajax (after load of page2) to load page3, or
used data-ajax="false" linking from page1, page3 will not
be loaded when you navigate from page1.
There
will be similar issues going the other way. (Linking from a multi-page
to a single-page, and then back again.)
Leave a comment on watusiware's reply
I don't know... I've been using it like this for years (iOS, various Androids and Windows Phone) and the only problem I've seen so far is this one, only in UIWebView + iOS9.jQuery Mobile doesn't support that.All pages in one file.Or each page in a separate one.You CANNOT mix.You will have trouble with this with ANY OS and ANY OS version. Maybe not the trouble you are noticing right now, but trouble!
It
sounds like a serious limitation which must be mentioned in the
documentation... which I just checked and the only thing that
sounds related is this:
: You cannot link to a multipage document with Ajax navigation active because the framework will only load the first page it finds, not the full set of internal pages. In these cases, you must link without Ajax.
Links that point to other domains or that havehttp://demos.jquerymobile.com/1.4.5/navigation-linking-pages/rel="external"
,data-ajax="false"
ortarget
attributes will not be loaded with Ajax. Instead, these links will cause a full page refresh with no animated transition.
Moreover, it even states:
You can seamlessly navigate between local, internal "pages" and external pages in jQuery Mobile. Both will look the same to the end user except that external pages will display the Ajax spinner while loading. In either situation, jQuery Mobile updates the page's URL hash to enable Back button support, deep-linking and bookmarking.
Sorry, that I didn't make it clear that I was using
rel="external" (which is same as
data-ajax-"false" according to documentation) to link to
the page 2.
But I don't think it's actually related.
Here is page3.html, which has all 3 pages within one
single file. If you open it with Safari / WKWebView / Chrome /
Firefox it works just fine. But if you open it with UIWebView in
iOS9 (using your UIWebViev if you have one, or the app from the
store I've mentioned before) navigation won't work at
all. Not even from page2 to page1. Which makes me think that in
UIWebView+iOS9 #anchor changes are not recorded in the history,
so history.back() doesn't work, which basically means that
everything that uses jquerymobile within UIWebView is broken on
iOS9!
Unless this workaround is
used:
$.mobile.hashListeningEnabled = false;
which in 1.4.5, unfortunately, breaks navigation in some other
cases on multi-paged sites (which work just fine when the flag is
on), making this workaround quite limited.
I'm seeing the same issues on iOS 9 with UIWebViews too.
I have an single page app that has run fine for years for now
navigating back stops working when using jQueryMobile.
It seems to be an issue with keeping state of hash page changes as
when you nav back via window.history.back() you are taken to the
splash screen page in the html. All other navigations via
$.mobile.changePage('#myNewPage') are being skipped when
navigating back.
I don't have this issue in any other browsers and it works fine
in safari on iOS9 and in WKWebView, but I currently have to use the UIWebView.
Does anyone know a quick fix for this?
I'm running JQM 1.3.0 but see the same issues on the latest JQM too.
Thanks for your help.
Leave a comment on michael_p's reply
Thanks to the hotfix lead for jQuery Mobile 1.2.* from Sebastian, I have
found this works pretty well, and without choppiness.
-
[data-role="page"] { overflow: auto; -webkit-overflow-scrolling: touch; }
I posted my solution here:
Leave a comment on mikegertrudes's reply
This is an interesting "fix", as what it does is let the
page div scroll within the document. I will only work on WebKit
browsers, and be aware that -webkit-overflow-scrolling
implementation was poor on earlier WebKit versions.
----
Starting a new project now with JQM 1.2 and then expecting it to
work on iOS9 is a losing battle. You've patched one thing that
doesn't work. As you continue to work with it, you will discover
more. For those with existing projects that use an earlier JQM - I
feel your pain. But if you have a new project, start out right!
Do your self a favor (or, if you won't for others reading the
thread...) and don't try to use a library that is ancient vs the
browser you are trying to use it on. Upgrade to jQuery Mobile 1.4.5
and then you have half a chance of winning the battle.
Leave a comment on watusiware's reply
An issue has been reported for the multi-page # navigation back history
issue in iOS 9 in UIWebViews.
Cheers
Leave a comment on NipponMonkey's reply
I found a solution that worked for me. It is not ideal for some apps,
but disabling page transitions solved all my issues. The underlying
cause is something to do with the animation end event in webkit browsers.
$.mobile.defaultPageTransition = 'none';
Leave a comment on maxmoore14's reply
jQuery Mobile 1.4+ DOES NOT USE transitionEnd any more!I found a solution that worked for me. It is not ideal for some apps, but disabling page transitions solved all my issues. The underlying cause is something to do with the animation end event in webkit browsers.
You
should NOT expect older versions of jQuery Mobile to support
current browsers.
We
are conflating a number of different iOS9 issues on this thread,
which makes it very confusing to follow. Try to stick to a
specific topic.
FIRST
RULE though, is use the current version 1.4.5. You should have NO
expectation of earlier versions working correctly with iOS9.
(And,
as well, we still await an update of jQuery Mobile that
specifically supports iOS9. No such version has yet been released,
and - officially - jQuery Mobile does not support iOS9, as the
developers do not have the gift being able to see into the future,
and 1.4.5 was released well ahead of iOS9.)
Leave a comment on watusiware's reply
A work around seems to be setting $.mobile.pushStateEnabled to false if running in iOS 9 UIWebView. Then the back history works - from my initial testing.
Leave a comment on NipponMonkey's reply
I experience exactly same issue, in app running on jQuery Mobile 1.4.5
Tapping on back link skips one page.
an example app: https://build.phonegap.com/apps/703434
Tapping on back link skips one page.
an example app: https://build.phonegap.com/apps/703434
Leave a comment on antons's reply
I have the same issue.
I got a page contain a text field. First
time when i enter the page and click the textfield it will bring up
native keyboard. If i back to home page and enter this page click the
textfield again, it will show keyboard for a sec then recirect me back
to home page.
I tested different devices, this issue is iOS9 only.
- jQuery Mobile version 1.3.1
Is there any way that i can try without upgrade jQM? There are many
places in my app relay on 1.3.
I tried all hot fixes mentioned above. Still can't fix it.
Can any one help me? Many thanks.
Leave a comment on Outlier's reply
Change topic type
Link this topic
Provide the permalink of a topic that is related to this topic
Reply to Sebastian Moreno's problem
{"z59932651":[14737000006500867,14737000006500883,14737000006506019],"z59033881":[14737000006473902,14737000006478501,14737000006478505,14737000006478503,14737000006478507,14737000006478519,14737000006478533,14737000006478535,14737000006478527,14737000006478529,14737000006482017,14737000006482035,14737000006482053,14737000006482051,14737000006482063],"z2050875":[14737000006483069,14737000006482043],"z5066137":[14737000006483653,14737000006483925],"z63023964":[14737000006587379],"z6136857":[14737000006476705,14737000006476719,14737000006497893],"z8869797":[14737000006499345],"z7664639":[14737000006478481,14737000006478517,14737000006478523,14737000006478525,14737000006478541,14737000006482037,14737000006482047,14737000006482529,14737000006500427,14737000006502833],"z59043188":[14737000006478485,14737000006478509,14737000006482181,14737000006482171],"z2950240":[14737000006473953,14737000006479199,14737000006479235,14737000006479243,14737000006479245,14737000006479251],"z61021835":[14737000006531003]}