Search Banner Component

This component removes the search icon from the header menu and creates a search bar which is placed in the middle of the header area.

Thanks to @Johani for the search panel javascript code :+1:


Hi Jordan,

Thanks for this TC :slight_smile:

There is an issue since this commit FIX: Toggle search menu when click the same button (#13781) · discourse/discourse@e3144fc · GitHub every page click activate and open search.

Thanks :slight_smile:


Thanks for reporting!

I couldnt reproduce this issue locally or on theme-creator preview. Would you mind letting me know the browser you are using, as well as posting maybe a video / gif of this happening to you?


1 Like

I use Chrome Version 91.0.4472.114 on desktop and Android 10 (Chrome 91.0. 4472.120) on mobile.

I can upload a video little bit later. :slight_smile:

But actually I just changed last night mouseDownOutside() to clickOutside() fixed for me.

1 Like

Thanks for that info! I have pushed a fix to the component :grinning_face_with_smiling_eyes: