Clicking home page logo no longer takes you to top of the page

AI-generated summary

A bug was reported in Discourse version 3.1.0.beta5 where clicking the homepage logo on the /latest page no longer scrolls to the top of the page, instead reloading the page at the current scroll position. The issue was replicated on both iOS Safari and Windows Firefox. Richie reported the bug, and David Taylor provided a fix, which was tested on Meta and subsequently merged. Richie confirmed the fix worked on Meta.

Updated to 3.1.0.beta5 (3ea8203719) today.

Immediately noticed that when on /latest and scrolling down the list of topics, clicking on the logo at the top left no longer takes me back to the top of the page :confused:

Instead, it now just appears to reload the page at your current scroll point.

2 Likes

Sorry, forgot to add, Safari on iOS 16.5.1

1 Like

I can also replicate on Windows desktop with Firefox 114.x

Again, this only occurs on the /latest page, when you’ve scrolled down a bit.

2 Likes

I have a fix in-progress for this:

https://github.com/discourse/discourse/pull/22552

I’ll update here once it’s merged

Edit: branch is now deployed to Meta for testing

7 Likes

Tests passed here on meta, thanks for the bug fix @David :smiley:

3 Likes

This is now merged

5 Likes

This topic was automatically closed after 17 hours. New replies are no longer allowed.