https://bugzilla.wikimedia.org/show_bug.cgi?id=71796

--- Comment #7 from Tisza Gergő <gti...@wikimedia.org> ---
(In reply to Gilles Dubuc from comment #3)
> I think the cache is doing what it's supposed to. If you have media viewer
> open, the page scroll is 0. So at the time you move to another page, that's
> what the browser remembers and restores.

MediaViewer stores the scroll position in a JS variable. If bfcache worked
properly, upon backnavigation the browser would reload the page with
MediaViewer open and the scroll position variable set, and MediaViewer uses
that to restore the scroll position on close.

What actually happens is that the page is restored in its initial position,
with MediaViewer closed; and the scroll position is reset due to the hash, so
by the time MV opens and stores the scroll position it's zeroed out.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to