forked from jquery-archive/jquery-mobile
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes to hopefully simplify and synchronize transitions and scrolling.
- Added $.mobile.scrollTo() which synchronously scrolls the page, and is aware of any pending silentScroll() requests. - Removed the silentScroll() call in the orientationchange and resize callback in jquery.mobile.media.js. - Modified transition code to use $.mobile.scrollTo() so that we can synchronously scroll the window. Changed where we call the focus and scroll code to account for timing. - Removed setTimeout() wrap around transitionPages() in the ajax callback.
- Loading branch information
Showing
3 changed files
with
47 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters