Opening link to collapsed comment causes unexpected scrolling

Environment

Discourse Version: 2.7.7

Plugin Commit: Improve post stream index handling · paviliondev/discourse-journal@475d855 · GitHub

Steps to Reproduce

  1. copy link to a comment post that is collapsed
  2. open that link in browser
  3. some random scrolling to top occurs

expected behaviour: user expects to see the linked comment with all the other comments corresponding to the reply expanded.

Example

https://forum.cannabisanbauen.net/t/testreport-mimosa-champagne/20805/21?u=jrgong

video of issue here: Loom | Free Screen & Video Recording Software

Logs

no errors in log
no errors in log
no errors in log