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
Basically, if invoked, the drag scroll listener allows you to go to a specific page or post, or something like that. However attempts to scroll up when starting from the bar will cause the page to ajaxify elsewhere, which is not the desired effect.
If the vertical scroll is > horizontal scroll, it can be assumed that it was meant to be a scroll up and so we can do nothing instead.
For small navigations (where horizontal scroll might be too small), perhaps we can adjust the logic so that the vert>horiz check is only triggered if vert > 2x navbar height
The text was updated successfully, but these errors were encountered:
Details here: https://what.thedailywtf.com/topic/26328/del-scroll-del-ins-page-ins-up
Basically, if invoked, the drag scroll listener allows you to go to a specific page or post, or something like that. However attempts to scroll up when starting from the bar will cause the page to ajaxify elsewhere, which is not the desired effect.
If the vertical scroll is > horizontal scroll, it can be assumed that it was meant to be a scroll up and so we can do nothing instead.
For small navigations (where horizontal scroll might be too small), perhaps we can adjust the logic so that the
vert>horiz
check is only triggered ifvert > 2x navbar height
The text was updated successfully, but these errors were encountered: