# Search Icon can appear outside drop-downs

**URL:** https://meta.discourse.org/t/search-icon-can-appear-outside-drop-downs/87118
**Category:** Bug
**Created:** [May 9, 2018, 11:35pm UTC](https://meta.discourse.org/t/search-icon-can-appear-outside-drop-downs/87118 "2018-05-09T23:35:38Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![sarahann](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sarahann/32/96703_2.png) [@sarahann](https://meta.discourse.org/u/sarahann)
#### Post date: [May 9, 2018, 11:35pm UTC](https://meta.discourse.org/t/search-icon-can-appear-outside-drop-downs/87118/1 "2018-05-09T23:35:38Z")

</div>

**Repro Steps:**

1. go to [https://meta.discourse.org/c/feature](https://meta.discourse.org/c/feature) ( I have the “material design theme” enabled)
2. click the ‘all tags’ button  
2a. toggle the button multiple times  
Notice the search icon fly in from the side
3. click on the search icon  
Notice the search icon has now moved off the menu

This bug isn’t just for the tags menu. I noticed it in my own discourse in the drop-down in a custom made group. I’m assuming the issue is either the drop-down component or the search icon itself.

**Expected Behavior:**  
The icon stays inside the dropdown at all times.

---

<div class="post-metadata">

### Author: ![sarahann](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sarahann/32/96703_2.png) [@sarahann](https://meta.discourse.org/u/sarahann)
#### Post date: [May 9, 2018, 11:38pm UTC](https://meta.discourse.org/t/search-icon-can-appear-outside-drop-downs/87118/2 "2018-05-09T23:38:45Z")

</div>

**Removing**  
width: auto;

**from class**  
.select-kit.combo-box .select-kit-filter .filter-input

**in file**  
combo-box.scss (line 27)

Seems to do the trick

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [May 10, 2018, 12:04am UTC](https://meta.discourse.org/t/search-icon-can-appear-outside-drop-downs/87118/3 "2018-05-10T00:04:31Z")

</div>

Sure maybe you can look at this @Johani if the fix is all CSS.

---

<div class="post-metadata">

### Author: ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)
#### Post date: [May 15, 2018, 7:33am UTC](https://meta.discourse.org/t/search-icon-can-appear-outside-drop-downs/87118/5 "2018-05-15T07:33:06Z")

</div>

Fixed via:

[https://github.com/discourse/discourse/commit/02e0426de69b437ddf099b34078cf65e895feb96](https://github.com/discourse/discourse/commit/02e0426de69b437ddf099b34078cf65e895feb96)

Thank you for reporting the bug @sarahann

---

<div class="post-metadata">

### Author: ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)
#### Post date: [May 22, 2018, 7:32am UTC](https://meta.discourse.org/t/search-icon-can-appear-outside-drop-downs/87118/6 "2018-05-22T07:32:55Z")

</div>


