# إصلاح: تعطيل زر تحميل المزيد من الردود حتى يتم تحميل المزيد من الردود

**URL:** https://meta.discourse.org/t/fix-disable-load-more-replies-button-until-more-replies-are-loaded/391877
**Category:** Bug
**Created:** [22 ديسمبر 2025، 3:16ص UTC](https://meta.discourse.org/t/fix-disable-load-more-replies-button-until-more-replies-are-loaded/391877 "2025-12-22T03:16:49Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![small-lovely-cat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/small-lovely-cat/32/553546_2.png) [@small-lovely-cat](https://meta.discourse.org/u/small-lovely-cat)
#### Post date: [22 ديسمبر 2025، 3:16ص UTC](https://meta.discourse.org/t/fix-disable-load-more-replies-button-until-more-replies-are-loaded/391877/1 "2025-12-22T03:16:49Z")

</div>

في طلب السحب [#35136](https://github.com/discourse/discourse/pull/35136)، تمت إضافة منطق إلغاء التذبذب (debounce logic) إلى زر الرد. ومع ذلك، تحدث مشكلة مماثلة في زر “load\_more\_replies” أيضًا.

هذا الالتزام يحل المشكلة عن طريق إضافة منطق التعطيل إلى زر `load_more_replies`، بحيث يتم تعطيل الزر أيضًا أثناء التحميل، وبذلك يتم حل هذه المشكلة.

طلب سحب لحل هذه المشكلة موجود هنا:

> <https://github.com/discourse/discourse/pull/36816>
>
> In PR #35136, a debounce logic is added to the reply button. However, a similar …issue occurs in the "load\_more\_replies" button as well.
> 
> This commit fix the issue by adding disable logic to the \`load\_more\_replies\` button, so that the button is also disabled when loading, and this issue is solved.
> 
> Before:
> 
> https://github.com/user-attachments/assets/7700a70d-3d8d-4837-8286-1f3bb8fc3006
> 
> After:
> 
> https://github.com/user-attachments/assets/f12bc001-d9c9-46d6-93a0-2f57d8e1584a

---

_[View the full topic](https://meta.discourse.org/t/fix-disable-load-more-replies-button-until-more-replies-are-loaded/391877)._
