eternagame / eternagame.org

Website for the Eterna citizen science game
https://eternagame.org
BSD 3-Clause "New" or "Revised" License
19 stars 17 forks source link

Notification dropdown link does not scroll to notification on feed page #361

Open luxaritas opened 1 year ago

luxaritas commented 1 year ago

Expected Behavior

When clicking a notification in the navbar dropdown, after navigating to the feed page the page should scroll to the notification that was clicked

Current Behavior

The feed page stays at the top of the page

Reproduction Steps

See above

Environment

No response

Other information

I'm assuming this is due to interaction with our pagination/gallery handling - probably https://github.com/eternagame/eternagame.org/commit/4d941ac30be769b0075ddad396fef14ec761eaff which fixed not re-scrolling to the initially loaded item has also prevented it from scrolling to it initially since the content hasn't been loaded yet on initial page load (so the first time content is loaded, we do have to maintain the hash)