# Details 和复选框无法良好配合

**URL:** <https://meta.discourse.org/t/details-and-checkbox-dont-play-together-well/370572>\
**Category:** UX\
**Tags:** checklist, hide-details, fixed\
**Created:** [2025年六月17日 19:43 UTC](https://meta.discourse.org/t/details-and-checkbox-dont-play-together-well/370572 "2025-06-17T19:43:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)\
**Post date:** [2025年六月17日 19:43 UTC](https://meta.discourse.org/t/details-and-checkbox-dont-play-together-well/370572/1 "2025-06-17T19:43:50Z")

</div>

我们收到了一些用户的反馈，指出在 details 元素内部使用清单时会出现异常行为。

点击 details 内部的复选框会触发页面重新加载，导致 details 元素再次折叠：

> **看我**
>
> - 任务一
> - 任务二

我意识到这可能被视为对这两个元素的创造性使用。因此，我将其归类为 #Contribute > UX，而不是 #contribute:bug。

---

<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:** [2025年十月9日 23:36 UTC](https://meta.discourse.org/t/details-and-checkbox-dont-play-together-well/370572/2 "2025-10-09T23:36:09Z")

</div>

您还能重现此问题吗？因为它在我看来在上面的示例中运行正常。

---

<div class="post-metadata">

**Author:** ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)\
**Post date:** [2025年十月13日 20:25 UTC](https://meta.discourse.org/t/details-and-checkbox-dont-play-together-well/370572/3 "2025-10-13T20:25:36Z")

</div>

嘿 @chapoi

你说得对，这个现在似乎可以正常工作了。

不幸的是，[另一个表格 bug](https://meta.discourse.org/t/expanded-markdown-tables-cant-be-interacted-with/364439) 仍然存在。

---

<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:** [2025年十月14日 02:12 UTC](https://meta.discourse.org/t/details-and-checkbox-dont-play-together-well/370572/4 "2025-10-14T02:12:42Z")

</div>


