Comments link at top of work does not scroll to comments in Chrome, nor does Next link in comments take you to the top of the next page of comments

Description

In Chrome, we'll need to find a work with multiple pages of comments.

1. Search > Works
2. Fill in "Comments" with > 50
3. Press "Search"
4. In the search results, click the title of a work to open it
5. If the work is multichaptered and you are not in Entire Work view, click Entire Work at the top of the work to switch from chapter view

If I click "Comments" at the top of the work, it should load the comments and scroll me down to the comments section. It loads the comments, but scrolling does not happen.

Once the comments are loaded, scroll alllll the way to the bottom of the comments and choose "Next" on the pagination. It should load the next page of comments and jump you to the top of the comments. It loads the next page, but you don't get taken to the top of the comments.

Activity

Show:
Veronica M
February 26, 2018, 9:45 AM
Edited

To expand on the "Next" button issue, it seems that the "Previous" and "Next" buttons show this same behavior when sending you to the other page. Also, it seems that the location of the button determines where on the other page you'll be taken. That is, selecting either one at the top of the comments section takes you to the top of the other page, while selecting either from the bottom of the comments section takes you to the bottom of the other page.

(This was only true in Chrome. When I tested in Firefox, the links took me to the top of the comments section regardless of which button I selected.)

redsummernight
April 4, 2019, 12:58 PM

I used mobile Chrome 73.0.3683.90 and reproduced the problem on production:

  • Clicking "Comments" at the top does not take you to the comments section.

  • Scrolling down to the bottom of the comments section and clicking "Next" takes you to next page, but not to the top of the comments section.

Now on test:

  • Clicking "Comments" at the top does take you to the comments section.

  • Scrolling down to the bottom of the comments section and clicking "Next" immediately takes you to the top of the comments section, and after a moment, the next page of the comments. "Previous" works similarly.

Looks good!

Nat
April 4, 2019, 2:40 PM

I’ve just tested on Chrome on desktop, Vivaldi on desktop (idk what’s up with that exactly, but it has the same bugs xD) and on Chrome on my phone.

First i tried on Beta to reproduce it, then on test to see it fixed, and it all looks great! Clicking ‘Comments’ took me to the comment section, scrolling to the bottom and then hitting the next page took me to the top of the comments section on it \:D

Lady Oscar
April 11, 2019, 1:50 AM

With Mac desktop Chrome, confirmed the issue on Beta, then went to Staging; on Staging the Comments button takes me to the top of the comments, and the lower "Next" button takes me to the top of the next page of comments. Looks good!

DeployedToBeta

Assignee

Sarken

Reporter

Sarken

Roadmap

Comments

Priority

Medium

Affects versions

Fix versions

Components

FrontEnd

Difficulty

Easy

Milestone

Internal 0.9