Hitting `esc` while viewing an image returns to the top of the page
Categories
(Core :: DOM: Navigation, defect)
Tracking
()
People
(Reporter: karlcow, Unassigned)
References
(Regression, )
Details
(Keywords: regression)
As explained by the reporter in https://webcompat.com/issues/43933 :
When reading a multi-screen article, clicking on an image to view it magnified (for instance as such: https://en.wikipedia.org/wiki/France#/media/File:Jacques-Louis_David_-_The_Emperor_Napoleon_in_His_Study_at_the_Tuileries_-_Google_Art_Project.jpg ) and then leaving this viewer (either by
esc
or clicking thex
button) returns to the top of the main article, rather to the "scroll location" from which it was clicked. This means that when one first reads the article and then wants to view the images in magnification, he is returned to the top of the page and forced to scroll back down after each image.I strongly believe this bug has appeared rather recently (I don't remember being annoyed by that before) and is not present in Google Chrome.
I have done a mozregression for it.
13:14.71 INFO: Last good revision: f7dd2503e50989bd39121a7a2be4fd48d83ee12c
13:14.71 INFO: First bad revision: 214fac6eb1c05177c7ef8eb29b87cceb09eb4110
13:14.71 INFO: Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=f7dd2503e50989bd39121a7a2be4fd48d83ee12c&tochange=214fac6eb1c05177c7ef8eb29b87cceb09eb4110
which points to Bug 1563587
fixed by Olli in https://phabricator.services.mozilla.com/D41199
to note https://www.fxsitecompat.dev/en-CA/docs/2019/history-navigation-methods-are-now-asynchronous/
so Maybe to check if wikipedia is doing something weird with UA detection.
Comment 1•6 years ago
|
||
Updated•4 years ago
|
Updated•4 years ago
|
Description
•