# 在 iOS 设备上触发键盘时，Discourse-boosts 会关闭

**URL:** <https://meta.discourse.org/t/discourse-boosts-float-kit-will-close-unexpectly-when-triggering-keyboard-on-ios-devices/413770>\
**Category:** Bug\
**Created:** [2026 年10 月 2 日 05:38 UTC](https://meta.discourse.org/t/discourse-boosts-float-kit-will-close-unexpectly-when-triggering-keyboard-on-ios-devices/413770 "2026-10-02T05:38:48Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![small-lovely-cat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/small-lovely-cat/32/579066_2.png) [@small-lovely-cat](https://meta.discourse.org/u/small-lovely-cat)\
发布日期： [2026 年10 月 2 日 05:38 UTC](https://meta.discourse.org/t/discourse-boosts-float-kit-will-close-unexpectly-when-triggering-keyboard-on-ios-devices/413770/1 "2026-10-02T05:38:48Z")

</div>

这个 bug 与 [UX: auto close FloatKit menu on page scroll - Pull Request #19 - discourse/discourse-boosts - GitHub](https://github.com/discourse/discourse-boosts/pull/19) 有关。虽然它在其他设备上运行正常，但在 iOS 设备上会导致输入功能失效。

当我们点击 boosts 的输入区域时，iOS 会触发键盘并导致页面滚动，进而使 boosts 的浮动工具栏（Floating-Kit）关闭。这一过程会不断重复，直到输入元素处于特定区域为止，这使得输入变得极其困难。

不确定该如何解决，也许可以针对 iOS 设备屏蔽这种行为？

---

_[View the full topic](https://meta.discourse.org/t/discourse-boosts-float-kit-will-close-unexpectly-when-triggering-keyboard-on-ios-devices/413770)._
