Closed Bug 1519798 Opened 5 years ago Closed 5 years ago

Hitting Enter key on scrollable show_bug page with new comments jumps to bottom and back to top, should stay at bottom

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox-esr60 --- unaffected
firefox64 --- unaffected
firefox65 --- unaffected
firefox66 --- fixed

People

(Reporter: aryx, Assigned: rhunt)

References

(Blocks 1 open bug)

Details

(Keywords: regression, Whiteboard: [qa-66b-p2])

Firefox 66.0a1 on Windows 8.1

If I open a scrollable bug with a new comment since my last visit and hit Enter to go to the bottom, the page jumps there and directly back to the top where the blue bar about the new comment will be gone. (FTR, tested this with bug which got orange factor bot comments which are collapsed by default, no idea if this matters.)

It should stay at the bottom.

This also occurs for bugs without updates about how frequent they are.

It's also affecting scrolling down which will also jump up.

I believe this is caused by the code that remembers page scroll location.

Component: Bug Creation/Editing → User Interface

Couldn't reproduce with layout.css.scroll-anchoring.enabled set to false.

Blocks: 1305957
Component: User Interface → Layout
Product: bugzilla.mozilla.org → Core
Version: Production → unspecified
Blocks: scroll-anchoring
No longer blocks: 1305957

I think this should be fixed by the patch attached to bug 1519462. See bug 1519462 comment 12.

Depends on: 1519462

Bug 1519462 has landed in the latest nightly and I can no longer reproduce this.

Please re-open if you're on build-id 20190117095319 or later and still see this.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Assignee: nobody → rhunt
Target Milestone: --- → mozilla66
Whiteboard: [qa-66b-p2]
You need to log in before you can comment on or make changes to this bug.