Hello,
JS dev here. Was trying to understand what blink does in order to restore the scroll position on back navigation.
I found "
restoreScrollPositionAndViewState"
here.
Then tried to understand what it does, specially in terms of timing and when it does consider a frame "loaded".
We had a page that was loading a skeleton before some request finished, and it restored the position at what height the skeleton allowed, although the page continued to load for a while afterwards.
Found
this doc where there's a missing link to a document which also seems missing from the code. (
core/frame/FrameLifecycle.md) And some other links to md documents seem to be missing too.
Could I get the FrameLifecycle.md doc?
Could I get an overview explanation on what blink does in order to restore the scroll position?
Thank you!
Regards,
Rubén