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

**URL:** https://meta.discourse.org/t/details-and-checkbox-dont-play-together-well/370572
**Category:** UX
**Tags:** checklist, hide-details, fixed
**Created:** [2025 年6 月 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:** 1
**Showing post:** 1

<div class="post-metadata">

### 作者： ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### 发布日期： [2025 年6 月 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。

---

_[View the full topic](https://meta.discourse.org/t/details-and-checkbox-dont-play-together-well/370572)._
