I have some anchors in the page and when I load page using anchor:
http://localhost:1820/Home/FAQ#question4
jQuery Mobile after 1-3 seconds automatically scrolls to top of the page. I cannot add fix to $(document).ready()
because this event fires before scrolling (scrolling appear after all content is loaded - with additional social button images, scripts etc.).
When I removing jquery.mobile-1.1.1.js script - bug disappears. When I removing all scripts except jQuery and jQuery mobile - bug still exists. So the problem should be in jQuery Mobile script.
How can I solve problem?
I used Chrome and Opera to test it.
P.S. I set $.mobile.ajaxEnabled = false;
, so my site do not use Ajax to load pages.