Fix for scrolling when the user has already scrolled.#2095
Fix for scrolling when the user has already scrolled.#2095remy wants to merge 1 commit intojquery-archive:masterfrom
Conversation
…ing - apparent when slow download and user is ahead of content or when jQM is being used on desktop platform - ref http://remysharp.com/doing-it-right-skipping-the-iphone-url-bar/
|
I should have added this, but you can see it on @aral's site - just scroll down whilst it's loading and it'll jump. |
|
Woops. Yeah, spot-on. Cool, care to update the pull then? |
|
No time - literally running out the door to leave for day long training - can do next week when got a few mins! |
|
That request has gone stale. @remy could you update it with what you agreed on with @scottjehl? |
|
I think this generally covers what we want to do: We'll need to adapt it to jQM, but same principle. On Sep 1, 2011, at 5:23 PM, gseguin wrote:
|
|
@remy @scottjehl Following up on is this is still valid or needs to be updated. |
|
This appears to be a problem of determining the performance tradeoffs of $window.load( function() {
if( $window.scrollTop() <= 1 ) {
$.mobile.silentScroll();
}
});I'm also confused by @scottjehl's snippet that suggests we should only be scrolling to 1 or 0 when the scrollTop value is greater than 1 given that we're trying to avoid scrolling when the user has altered the value by scrolling. |
|
Wanted to pop this back on your radar. Two questions:
|
|
I'm going to close this one in my next pass if there isn't movement. Seems like it isn't hyper critical right now. |
|
Well, I still think we should make the change if we haven't already. It should probably be added as an issue though - this pull didn't contain the proper fix quite yet if I remember right? On Apr 3, 2012, at 2:34 AM, John Bender wrote:
|
|
Right you are. Closing in favor of the #3958. |
fix for scrolling the window when the user has already started scrolling - apparent when slow download and user is ahead of content or when jQM is being used on desktop platform - ref http://remysharp.com/doing-it-right-skipping-the-iphone-url-bar/