Makes the search bar visible in the header in the Desktop UI and hides the search menu icon. It only affects the Desktop UI. It does not affect mobile web.
When you scroll down on a topic the header search bar is hidden and the normal search menu icon reappears. This is to allow the topic title, category labels and tags to display (aka the âextra infoâ).
@Joey_Tuan It stops the UI from breaking if the window size is less than the width of the combined header elements. Itâs a relatively marginal case, but if you reduce the width your window with the plugin installed youâll see what I mean. Nevertheless, youâre right. Itâs a ham-fisted approach to the issue. One sec, Iâll come up with a different way to do the same thingâŠ
@Joey_Tuan Iâve made the search fully responsive and removed that css rule. Now the search input will resize if you resize the window and auto-hide if the header bar becomes too small to contain it. All CSS (and JS for that matter) is contained to the plugin elements, so there is no possibility of further conflict.
Hi, first of all thanks for the plugin, itâs very useful.
Now, we have an issue related to the button text that could be too long and it will ruin the site aspect with the text underneath the menu. This happens when the category/subcategory name is long enough or the screen size is small enough. You can see a sample in the attached screen capture:
As a fix, I was thinking of giving a possibility to enable/disable the category title from the seach button, so it will just say Search or something like that, and you can place the category title in the search box if you would like.
Thanks for the feedback. Yes I think the setting is not a bad idea. I may do that on the weekend. In the meantime, Iâve made the category search title format the same as the topic search title format, i.e.: âSearch this categoryâ so you can continue to use this.
awesome plugin.
just an other issue:
if i minimize my window, the search field is shrinking and wonât get bigger any more until I refresh my site,
log at this picture.
Depends on which one-click install youâre talking about. There might be some installers out there that donât use our standard Docker image, which could make them incompatible with custom plugins.
The header search plugin interferes with the poll plugin, in particular the un-ordered list elements to hide the search area also hide the pollâs results.
I listed the bug here and removed all plugins to see where the issue was. After re-adding the header search plugin, the polls results start being hidden again (when scrolling or clicking away from the poll area).
I believe the problem is this line in the SCSS, which seems to effect all ul elements, so Iâm guessing it instead needs to specify the header searchâs class or id only.
@romdos Hey thanks for the bug report. tbh Iâve never made a poll before. On a brief attempt on my local the plugin doesnt seem to workâŠarenât you just meanât to include 'Poll: â in the topic title?