Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Call to window.history.back() in click handler of jquery.mobile.navigation.js causes jump down to lastScroll of $to page if going back  #4535

@dcarrith

Description

@dcarrith

As stated in the title of the issue, there is a call to window.history.back() in the click handler of jquery.mobile.navigation.js that causes a jump down to lastScroll of $to page AFTER the scrollTo top occurs before the startOut phase of the transition. This is one of the contributing factors to the jumpiness that is particularly noticeable on Android.

I have been using a fix I came up with for a while now without any issues. I'll be submitting a pull request either today or tomorrow for review. It passes all the automated tests, but may cause an issue on certain older platforms that I don't have access to in order to test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions