Merge request hash anchor (#) not scrolling/jumping to comment/discussion

Summary

When navigating to a merge request URL with a hash for a collapsed comment/discussion (e.g. https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8375#note_21934498), the page is not automatically scrolled to that comment/discussion.

Users need to scroll and find on their own which discussion/comment is being linked.

Steps to reproduce

Navigate to a merge request URL with a hash for a collapsed discussion (e.g. https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8375#note_21934498).

Expected behavior

The page scroll should jump to the comment/discussion with the hash anchor indicated in the URL (.e.g #note_21934498).

Actual behavior

The page scroll stays on the top, as if no hash was provided in the URL.

Output of checks

This bug happens on GitLab.com