New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 596051 link

Starred by 4 users

Issue metadata

Status: Duplicate
Merged: issue 699267
Owner:
Closed: May 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Empty hash in URL causes scroll to a random position, normally ads

Reported by mel...@gmail.com, Mar 18 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36

Example URL:

Steps to reproduce the problem:
1. Just visit any of the listed URLs.

What is the expected behavior?
An empty hash in the URL shouldn't cause any scroll. IE and Firefox don't behave like this.

What went wrong?
Without touching anything, the page will scroll to a random position in the page, probably an ad (caused by iframes?). In some cases it will scroll back to the top.

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No 

Did this work before? N/A 

Does this work in other browsers? Yes 

Chrome version: 49.0.2623.87  Channel: stable
OS Version: 10.0
Flash Version: Shockwave Flash 21.0 r0

Small sample of affected URLs (but anything with ads, really):

https://www.meneame.net/#
http://elpais.com/#
http://www.elmundo.es/#
http://www.marca.com/#
http://as.com/#
http://www.20minutos.es/#
https://www.tripadvisor.es/#

Possibly related to  Issue 446756  ?
 

Comment 1 by farl...@gmail.com, Mar 18 2016

Same here, Chrome 51.0.2679.0 dev (64-bit) on OS X 10.11.4 beta

Cc: rnimmagadda@chromium.org
Components: -Blink Blink>Scroll
Labels: M-50 OS-Linux OS-Mac
Status: Untriaged (was: Unconfirmed)
Able to repro this issue on Windows 7, 10 [Pro], MAC (10.11.3) & Ubuntu Trusty (14.04) for Google Chrome Stable Version - 49.0.2623.87 

This is a Non-Regression issue existing from M30 - # - 30.0.1549.0
Cc: skobes@chromium.org
Labels: Hotlist-Input-Dev
Owner: ymalik@chromium.org
Status: Assigned (was: Untriaged)
Cc: durga.behera@chromium.org ymalik@chromium.org ajha@chromium.org kavvaru@chromium.org brajkumar@chromium.org
 Issue 656969  has been merged into this issue.

Comment 5 by ymalik@chromium.org, Nov 15 2016

Cc: -skobes@chromium.org
Not sure what's going on here. We are setting the document as the fragment anchor and a call into document->scrollRectToVisible(Rect()) seems to be doing something weird.

Assigning to skobes since he has worked on  issue 446756 . 


Comment 6 by ymalik@chromium.org, Nov 16 2016

Owner: skobes@chromium.org

Comment 7 by bokan@chromium.org, May 18 2017

Mergedinto: 699267
Status: Duplicate (was: Assigned)
This was fixed in  issue 699267 

Sign in to add a comment