# Issues with repetitive replies on expand button click

**URL:** https://meta.discourse.org/t/issues-with-repetitive-replies-on-expand-button-click/382282
**Category:** Bug
**Tags:** pr-welcome
**Created:** [September 11, 2025, 7:34am UTC](https://meta.discourse.org/t/issues-with-repetitive-replies-on-expand-button-click/382282 "2025-09-11T07:34:42Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![TethysPlex](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tethysplex/32/520869_2.png) [@TethysPlex](https://meta.discourse.org/u/TethysPlex)
#### Post date: [September 11, 2025, 7:34am UTC](https://meta.discourse.org/t/issues-with-repetitive-replies-on-expand-button-click/382282/1 "2025-09-11T07:34:42Z")

</div>

![PixPin_2025-09-11_17-32-00](https://global.discourse-cdn.com/meta/original/4X/5/0/9/5092c0fc43de6e9b672d66eab16aafe90dc0e06e.gif)

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.

---

<div class="post-metadata">

### Author: ![TethysPlex](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tethysplex/32/520869_2.png) [@TethysPlex](https://meta.discourse.org/u/TethysPlex)
#### Post date: [September 15, 2025, 11:57am UTC](https://meta.discourse.org/t/issues-with-repetitive-replies-on-expand-button-click/382282/2 "2025-09-15T11:57:30Z")

</div>

any updates on this issue?

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [September 23, 2025, 12:57pm UTC](https://meta.discourse.org/t/issues-with-repetitive-replies-on-expand-button-click/382282/3 "2025-09-23T12:57:39Z")

</div>

I’m not able to replicate this behavior. Is it still happening on your end? If so, can you try in [safe mode](https://meta.discourse.org/t/53504?silent=true), to exclude any theme components or plugins or customizations that are just affecting your site?

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [September 23, 2025, 1:53pm UTC](https://meta.discourse.org/t/issues-with-repetitive-replies-on-expand-button-click/382282/4 "2025-09-23T13:53:30Z")

</div>

I can, just repro’ed here on meta

 ![CleanShot 2025-09-23 at 07.52.56@2x](https://global.discourse-cdn.com/meta/original/4X/6/0/4/6048c657d5090508c775d9d6cbea36f3763a5001.jpeg)

Moving this to bug

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [September 23, 2025, 1:54pm UTC](https://meta.discourse.org/t/issues-with-repetitive-replies-on-expand-button-click/382282/5 "2025-09-23T13:54:43Z")

</div>

Huh - you are able to repro in this post? [iOS 26 bugs with fixed position elements in Discourse - #5 by DudeMeister](https://meta.discourse.org/t/ios-26-bugs-with-fixed-position-elements-in-discourse/382831/5)

I just tried myself and it did not duplicate. What are you doing to get it to duplicate?

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [September 23, 2025, 2:13pm UTC](https://meta.discourse.org/t/issues-with-repetitive-replies-on-expand-button-click/382282/6 "2025-09-23T14:13:09Z")

</div>

Yes that post. Literally just rapid clicking on the expand button. Using a chromium browser, havent tested others yet.

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [September 23, 2025, 2:15pm UTC](https://meta.discourse.org/t/issues-with-repetitive-replies-on-expand-button-click/382282/7 "2025-09-23T14:15:17Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [September 23, 2025, 3:02pm UTC](https://meta.discourse.org/t/issues-with-repetitive-replies-on-expand-button-click/382282/8 "2025-09-23T15:02:48Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![TethysPlex](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tethysplex/32/520869_2.png) [@TethysPlex](https://meta.discourse.org/u/TethysPlex)
#### Post date: [September 24, 2025, 8:43am UTC](https://meta.discourse.org/t/issues-with-repetitive-replies-on-expand-button-click/382282/9 "2025-09-24T08:43:33Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [September 24, 2025, 3:45pm UTC](https://meta.discourse.org/t/issues-with-repetitive-replies-on-expand-button-click/382282/10 "2025-09-24T15:45:35Z")

</div>

> [@TethysPlex](#):
>
> Perhaps disabling the button while loading,

Thats a better approach in general imo 👍🏻

---

<div class="post-metadata">

### Author: ![TethysPlex](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tethysplex/32/520869_2.png) [@TethysPlex](https://meta.discourse.org/u/TethysPlex)
#### Post date: [October 1, 2025, 12:00pm UTC](https://meta.discourse.org/t/issues-with-repetitive-replies-on-expand-button-click/382282/11 "2025-10-01T12:00:22Z")

</div>

> [@chapoi](#):
>
> I would say it’s very low priority though, as at this point it’s almost intentionally trying to break the site.

Thanks for the clarification, but I’d like to know whether Discourse accepts pull requests aimed at fixing this issue.

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [October 1, 2025, 2:04pm UTC](https://meta.discourse.org/t/issues-with-repetitive-replies-on-expand-button-click/382282/12 "2025-10-01T14:04:13Z")

</div>

> [@TethysPlex](#):
>
> 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

---

<div class="post-metadata">

### Author: ![TethysPlex](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tethysplex/32/520869_2.png) [@TethysPlex](https://meta.discourse.org/u/TethysPlex)
#### Post date: [October 2, 2025, 2:50am UTC](https://meta.discourse.org/t/issues-with-repetitive-replies-on-expand-button-click/382282/13 "2025-10-02T02:50:40Z")

</div>

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](https://github.com/discourse/discourse/pull/35136)

---

<div class="post-metadata">

### Author: ![kelv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kelv/32/524739_2.png) [@kelv](https://meta.discourse.org/u/kelv)
#### Post date: [October 3, 2025, 5:09am UTC](https://meta.discourse.org/t/issues-with-repetitive-replies-on-expand-button-click/382282/17 "2025-10-03T05:09:31Z")

</div>

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 👍

---

<div class="post-metadata">

### Author: ![kelv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kelv/32/524739_2.png) [@kelv](https://meta.discourse.org/u/kelv)
#### Post date: [October 3, 2025, 8:19am UTC](https://meta.discourse.org/t/issues-with-repetitive-replies-on-expand-button-click/382282/18 "2025-10-03T08:19:02Z")

</div>

@TethysPlex Thanks for addressing the comments and your contribution! I’ve approved and merged the PR 🙂

---

<div class="post-metadata">

### Author: ![kelv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kelv/32/524739_2.png) [@kelv](https://meta.discourse.org/u/kelv)
#### Post date: [October 4, 2025, 12:00am UTC](https://meta.discourse.org/t/issues-with-repetitive-replies-on-expand-button-click/382282/20 "2025-10-04T00:00:52Z")

</div>

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