2 ms·
All of the apps fail this test: 1. Go to main page. 2. Enter a long comments section. 3. Scroll down. 4. Hit back (back to main page again). 5. Hit forward (ba
by bluetech 9y ago
All of the apps fail this test:
1. Go to main page.
2. Enter a long comments section.
3. Scroll down.
4. Hit back (back to main page again).
5. Hit forward (back to comments section).
Expected: Scroll position is restored.
Actual: Scroll position is not restored (most of them), back is broken (Svelte), scroll is some random place (Polymer).
- madeofpalk 9y agoWeird. Just tried using the Polymer app in Safari and it worked fine. I'm guessing different browsers handle this case differently. Edit: Just tried again using Chrome, back + forward consistently took me to the same scroll location. Edit 2: Ahh, Chrome doesn't restore scroll position correctly if you scroll a bit when you go back to the home page before hitting forward. Safari handles this fine.