# 浮动搜索框在设备从横向变为纵向时无法关闭

**URL:** <https://meta.discourse.org/t/floating-search-box-cannot-be-closed-when-device-goes-from-horizontal-to-vertical/398427>\
**Category:** Bug\
**Tags:** search, tablet\
**Created:** [2026年三月14日 02:10 UTC](https://meta.discourse.org/t/floating-search-box-cannot-be-closed-when-device-goes-from-horizontal-to-vertical/398427 "2026-03-14T02:10:44Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![sk-or-v1-contents](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sk-or-v1-contents/32/547175_2.png) [@sk-or-v1-contents](https://meta.discourse.org/u/sk-or-v1-contents)\
**Post date:** [2026年三月14日 02:10 UTC](https://meta.discourse.org/t/floating-search-box-cannot-be-closed-when-device-goes-from-horizontal-to-vertical/398427/1 "2026-03-14T02:10:44Z")

</div>

**优先级/严重性** : 中等 ~ 高

**平台** :  
[try.discourse.org](http://try.discourse.org) (可在[安全模式](https://meta.discourse.org/t/53504)下重现)  
Edge 144.0.3719.91  
MIUI 13.0.14 on Android 12  
Mi 11 Lite

**描述** :  
当设备从横向变为纵向时，浮动搜索框仍然存在且无法关闭，必须再次翻转到横向才能将其关闭。

**重现步骤** :

1. 将设备旋转至横向。

2. 进入一个主题。

3. 如果未启用安全模式，向下滚动一点以显示搜索图标。  

4. 点击搜索图标，您应该会看到弹出窗口：  

5. 将设备翻转至纵向。

6. 预期：搜索框消失。实际情况：搜索框在页面导航中仍然存在，并且只能在设备处于横向时点击其外部才能关闭。

---

_[View the full topic](https://meta.discourse.org/t/floating-search-box-cannot-be-closed-when-device-goes-from-horizontal-to-vertical/398427)._
