You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.
The comments around this say scrollTop should be 1 for most browsers (non-android) so defaultHomeScroll should be 0. However, in iOS (webview, not browser) if the page is too short to scroll scrollTo( 0, 1 ) fails and defaultHomeScroll gets set to 1.
The text was updated successfully, but these errors were encountered:
@ldeluca this is no longer relevant we restore by default now no longer what it is so the logic is different. we also tracked down the cause of the issue @jaspermdegroot mentions here and it was unrelated. Closing as fixed.
If I'm interpreting the following code (
mobile.init.js:104
) correctly it does this: Scroll to 1, Check if you are at 1, If so the true top is 0.The comments around this say
scrollTop
should be 1 for most browsers (non-android) sodefaultHomeScroll
should be 0. However, in iOS (webview, not browser) if the page is too short to scrollscrollTo( 0, 1 )
fails anddefaultHomeScroll
gets set to 1.The text was updated successfully, but these errors were encountered: