A bad bug seems to have slipped through to TalkYard's production servers. My blog uses TalkYard for blog comments, but every page the user visits, TalkYard immediately scrolls down to the comments, even if there is no comment ID in the URL bar. If I disable scripts from talkyard.net, the issue goes away. I can reproduce this on both Firefox and Chrome on Win10.
See this video for an example of the behavior:
- 4 replies
Thanks for the video. I can reproduce on my blog too. I'll have a look tomorrow. Sorry for the troubles
(I upgraded Prod earlier today — I suppose it's something in the new version.)
Seems I've found the problem: it's Talkyard now auto focusing the
<div>with the Original Post and replies, so that, in a discussion forum, the Page Down and Page Up etc scroll buttons will work directly. (Because of the left and right sidebars and the bottom editor, in Ty, the actual discussion is in its own
<div>that wants to be focused, for the scroll buttons to work)
But this shouldn't be done, for a blog comments page (because then the browser jumps to the focused element, that is, down to the blog comments).
I'll deploy a fix to Prod tomorrow morning, & will add an e2e test so this bug won't come back.ReplySolution