Skip to content

"Back" links with allowSamePageTransition=true problems #4102

Closed
cjindustries opened this Issue Apr 18, 2012 · 5 comments

3 participants

@cjindustries

When $.mobile.changePage.defaults.allowSamePageTransition = true, "back" links from a sub-page to the first page in a multi-page single document don't work correctly - they will flicker and may even result in a blank page.

See my jsfiddle:

http://jsfiddle.net/cjindustries/yUPm4/

@cjindustries

Doesn't seem to do it in IE9 but does in FF, Chrome and Safari

@lennynero

It's solved moving jqm.js script call before $.mobile calls

@cjindustries

Hi, thanks fore the response but I don't think that's correct - the changes to defaults need to be registered before the jqm script is loaded, or else the mobileinit event is missed. This is illustrated in the jsfiddle since when you move the script as you suggest, the transition no longer 'slides'.

@lennynero

Sorry for mistake, i think that the problem is related to the Issue #4094

@gseguin gseguin closed this May 3, 2012
@gseguin
jQuery Foundation member
gseguin commented May 3, 2012

This looks like it's fixed in master. Closing as such.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.