By setting keepScrollPosition to a string you can preserve the scroll position between any arbitrary group of pages: if two pages have the same keepScrollPosition value then the scroll is preserved. Essentially, the keepScrollPosition values determine the "scroll preservation groups". The scroll position is preserved if and only if two pages belong to the same group.
It's already implemented but it's considered an experimental feature which may be removed at anytime. If you are using this, then write a comment down below explaining why you need this, we'll then make it a stable feature.
If no one adds a comment, then this feature will be removed.
Description
By setting
keepScrollPosition
to a string you can preserve the scroll position between any arbitrary group of pages: if two pages have the samekeepScrollPosition
value then the scroll is preserved. Essentially, thekeepScrollPosition
values determine the "scroll preservation groups". The scroll position is preserved if and only if two pages belong to the same group.It's already implemented but it's considered an experimental feature which may be removed at anytime. If you are using this, then write a comment down below explaining why you need this, we'll then make it a stable feature.
If no one adds a comment, then this feature will be removed.