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
I see that InstantClick stores scroll position of page "A", when switching between "A" and "B". That's great, but what if one want the scroll position on page "B" to be the same of that on page "A"?
Is that possible? The closest I've gotten is storing the scroll position and then updating the position on "change". However, this requires a setTimeout delay in order to work; still, it's jarring rather than being seamless.
Perhaps the "change" event emits a promise?
Thanks.
The text was updated successfully, but these errors were encountered:
Hello @dieulot ,
I see that InstantClick stores scroll position of page "A", when switching between "A" and "B". That's great, but what if one want the scroll position on page "B" to be the same of that on page "A"?
Is that possible? The closest I've gotten is storing the scroll position and then updating the position on "change". However, this requires a setTimeout delay in order to work; still, it's jarring rather than being seamless.
Perhaps the "change" event emits a promise?
Thanks.
The text was updated successfully, but these errors were encountered: