Clicking "x" to close welcome banner does not work until page refresh

AI-generated summary

The discussion is about an issue where clicking the “x” to close the welcome banner does not work for logged-in users until the page is refreshed. haydenjames reported that this issue occurs in multiple browsers (Firefox, Chrome, and Safari) and has been happening for two months. They have tried troubleshooting by disabling Cloudflare and all plugins, but the issue persists. haydenjames also checked the browser dev tools, which showed no errors and a status 200. Meanwhile, Arkshine has made a pull request that may potentially resolve the issue.

When logged into test accounts, if I click the x in the screenshot, it does not close the banner unless I click to another page or hit refresh.

It only works when logged out, but when logged in with test users it does not close right away as expected.

Any hints on what I should check first as the cause of this issue? It’s been happening for the last 2 months, but only tested it now to confirm it wasn’t just in one browser or account. I can confirm it happens in Firefox, Chrome and Safari. But only logged-in users.

Edit:
Continuing to troubleshoot I disabled Cloudflare (although settings and cache bypass rules have not changed) But that had no effect.

Will continue today. I believe it happened after updating Discourse after a previous major update.

1 Like

I tried disabling all plugins using safe mode. And also manually disabled all plugins and components. But still won’t close for logged in users.

Browser dev tools shows no errors and status 200.

Any hints on how I can investigate? I also updated Discourse to current. No luck.

I made a PR:

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

5 Likes

This topic was automatically closed after 6 days. New replies are no longer allowed.