# 点击主题滚动条后，边栏主题切换按钮会破坏边栏的功能

**URL:** <https://meta.discourse.org/t/after-clicking-on-a-topic-scroll-bar-the-sidebar-theme-toggle-breaks-the-sidebar-when-used/314263>\
**Category:** Bug\
**Tags:** sidebar-theme-toggle, fixed\
**Created:** [2024年六月28日 23:51 UTC](https://meta.discourse.org/t/after-clicking-on-a-topic-scroll-bar-the-sidebar-theme-toggle-breaks-the-sidebar-when-used/314263 "2024-06-28T23:51:46Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)\
**Post date:** [2024年七月2日 20:32 UTC](https://meta.discourse.org/t/after-clicking-on-a-topic-scroll-bar-the-sidebar-theme-toggle-breaks-the-sidebar-when-used/314263/4 "2024-07-02T20:32:37Z")

</div>

感谢您的报告！现在应该已经修复了，但如果您仍然可以重现该问题，请告诉我。

我对主题组件进行了小的更新，强制它始终显示在切换按钮的上方。我认为问题在于它有时会尝试在下方渲染，导致侧边栏过高。

---

_[View the full topic](https://meta.discourse.org/t/after-clicking-on-a-topic-scroll-bar-the-sidebar-theme-toggle-breaks-the-sidebar-when-used/314263)._
