Scrolling to comment does not work for pull requests

Issue #16713 new
LeEnno NA
created an issue

When someone in my team replies to a comment I made on a pull request, I get an email notification. When I want to respond to that comment I click the "View this pull request" link in the email. An url in the form of

https://bitbucket.org/my_org/my_project/pull-requests/123/my_pull_request#comment-12345678

is opened. The page loads the overview tab, which takes quite long for a pull request with changes to 200 files. After loading has completed, the app tries to scroll to the comment but does not land correctly. I have to manually ⌘-F in the browser to find the comment I'm looking for.

More details: In my case the #page element is 148,000px in height. window.scrollY is at 25,117 event though it should be at 31,152.

If you need further details, let me know. I'm happy to help.

Comments (1)

  1. Log in to comment