When the “expand reply” button is clicked multiple times, or if it’s clicked repeatedly before the content has finished loading, it can result in multiple identical replies being displayed.
any updates on this issue?
I’m not able to replicate this behavior. Is it still happening on your end? If so, can you try in safe mode, to exclude any theme components or plugins or customizations that are just affecting your site?
Huh - you are able to repro in this post? iOS 26 bugs with fixed position elements in Discourse - #5 by DudeMeister
I just tried myself and it did not duplicate. What are you doing to get it to duplicate?
Yes that post. Literally just rapid clicking on the expand button. Using a chromium browser, havent tested others yet.
Ah, ok. I can confirm that doing that does not duplicate the items for me. I am on Chrome Version 140.0.7339.133 (Official Build) (arm64) on OSX.
Doesn’t immediately trigger but can repro consistently when doing it long enough
I would say it’s very low priority though, as at this point it’s almost intentionally trying to break the site.
I’ll leave it up to you whether we close with a wont-fix or not.
On my community, due to significant network latency, many users try to click the expand reply button multiple times.
Perhaps disabling the button while loading, or using replace instead of append for the reply list?
* Network latency is a function of several factors, including Cloudflare, user location, and community size.
Thats a better approach in general imo
Thanks for the clarification, but I’d like to know whether Discourse accepts pull requests aimed at fixing this issue.
Oh absolutely, we are very appreciative of any contributions! I’ve tagged the topic with pr-welcome
Thanks for the clarify, I’ve opened a PR on GitHub for this issue: FIX: Disable replies button until replies are loaded by TethysPlex · Pull Request #35136 · discourse/discourse · GitHub
Thanks for the PR @TethysPlex ! I’ve left a few comments on the PR in terms of simplifying the code but the overall approach is directionally there
@TethysPlex Thanks for addressing the comments and your contribution! I’ve approved and merged the PR
This topic was automatically closed after 15 hours. New replies are no longer allowed.