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
With disabled hash values Scrollify will scroll to top after every page load even if i press browser's back button.
But default browser behavior on back button is set scroll to the previous position, not to the top.
I think it should not scroll to top, but just recalculate position with manualScroll.calculateNearest(), because if new page opens browser will automatically set scroll position to top, and recalculating will scroll to the top section, because it is nearest to top.
I fix it by adding an option here 326c07d , but i think better way for UX is remove animating to first behavior and impliment only calculating nearest
The text was updated successfully, but these errors were encountered:
With disabled hash values Scrollify will scroll to top after every page load even if i press browser's back button.
But default browser behavior on back button is set scroll to the previous position, not to the top.
I think it should not scroll to top, but just recalculate position with
manualScroll.calculateNearest()
, because if new page opens browser will automatically set scroll position to top, and recalculating will scroll to the top section, because it is nearest to top.I fix it by adding an option here 326c07d , but i think better way for UX is remove animating to first behavior and impliment only calculating nearest
The text was updated successfully, but these errors were encountered: