# Cached search results box height too large when window is narrow

**URL:** https://meta.discourse.org/t/cached-search-results-box-height-too-large-when-window-is-narrow/52837
**Category:** UX
**Created:** [12.Ноябрь.2016 23:42:45 UTC](https://meta.discourse.org/t/cached-search-results-box-height-too-large-when-window-is-narrow/52837 "2016-11-12T23:42:45Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Acshi\_Haggenmiller](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/acshi_haggenmiller/32/121323_2.png) [@Acshi\_Haggenmiller](https://meta.discourse.org/u/Acshi_Haggenmiller)
#### Post date: [12.Ноябрь.2016 23:42:45 UTC](https://meta.discourse.org/t/cached-search-results-box-height-too-large-when-window-is-narrow/52837/1 "2016-11-12T23:42:45Z")

</div>

Use the search button to perform a search with window width of 800px or so, then click the button twice to hide and reshow the results. The resulting search box height is too large, resulting in extra white space.

 ![](https://global.discourse-cdn.com/meta/original/3X/1/1/1114bde6f727ebc2a2bece6df510d176de34b235.png)

I am getting this result on both Chrome and Edge.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [14.Ноябрь.2016 01:30:52 UTC](https://meta.discourse.org/t/cached-search-results-box-height-too-large-when-window-is-narrow/52837/2 "2016-11-14T01:30:52Z")

</div>

@eviltrout minor glitch around “docked” probably quite easy to fix

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [16.Ноябрь.2016 18:12:00 UTC](https://meta.discourse.org/t/cached-search-results-box-height-too-large-when-window-is-narrow/52837/3 "2016-11-16T18:12:00Z")

</div>

I think we might have to live with this one for a while. I spent over an hour on it and can’t figure it out. Something is causing the search panel to report the incorrect height the first time it shows up after being hidden. The second time it renders everything is fine.
