# Floating search box cannot be closed when device goes from horizontal to vertical

**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:** [March 14, 2026, 2:10am 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
**Page:** 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: [March 14, 2026, 2:10am 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>

**Platform** :  
[try.discourse.org](http://try.discourse.org) (can reproduce in [Safe Mode](https://meta.discourse.org/t/53504))  
Edge 144.0.3719.91  
MIUI 13.0.14 on Android 12  
Mi 11 Lite

**Description** :  
Floating search box persists and cannot be closed when device goes from horizontal to vertical, must flip to horizontal to close it.

**Reproducible steps** :

1. Rotate the device to horizontal.

2. Enter a topic.

3. If [safe mode](https://meta.discourse.org/t/53504?silent=true) is not enabled, scroll down a little to show the search icon.  

4. Tap the search icon and you should see the popover:  

5. Flip device to vertical.

6. Expected: search box disappears. Actual: persists across page navigations and can only be closed by tapping outside it when the device is horizontal.
