Closed
Bug 1211155
Opened 9 years ago
Closed 9 years ago
overflow:hidden elements are scrolled when scrolling to an anchor (#id) from following an internal link
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 325942
People
(Reporter: j, Unassigned)
Details
Attachments
(1 file)
1.54 KB,
text/html
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:41.0) Gecko/20100101 Firefox/41.0 Build ID: 20150929144111 Steps to reproduce: 1. Open the attached test case 2. Click the link 3. Scroll back up to the top of the page Actual results: The content was shifted up so that the bottom of the padding was aligned with the bottom of the container, and the content at the top was cut off. Expected results: The entire page content should still be viewable, and the extra padding at the bottom should remain offscreen.
Comment 1•9 years ago
|
||
I can reproduce the behavior on Chrome47, IE11, Edge and Nightly44.0a1 as well.
The problem is that the overflow:hidden div scrolls when we scroll to the anchor. I tend to think it shouldn't, but the behavior is apparently interoperable.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Summary: Bottom padding on a full-page div causes layout to shift up when clicking on anchor link → overflow:hidden elements are scrolled when scrolling to an anchor (#id) from following an internal link
You need to log in
before you can comment on or make changes to this bug.
Description
•