@wanderview hey Ben! Am I missing something here or is this still an issue? Seems like an important one for mobile especially PWAs, etc. https://bugzilla.mozilla.org/show_bug.cgi?id=251784#c10 …
The idea is that you generate your new content from the popstate event before returning from it. Apps that can't do that save/restore scroll position themselves, because the browser has no way to tell when you're done with that...
-
-
If you already _are_ generating all the content before returning from the popstate handler, please let me know and I will look into why that ends up not working in Firefox.
-
I just walked through it with the debugger and yes, the new content is being generated before returning from that handler. (Breakpoint at 3551 in that example) The really odd thing is that when walking through it with the debugger it *does* restore scroll position (FF v58.0.2)
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.