[HELP/SUPPORT] Sidebar with accordion - issue with search module. #260
-
Hi guys, I have a search module within my sidebar, and it have overflow-y: auto;overflow-x: hidden; set on the sidebar, so I get a scrollbar if the menu list it too long or screen height is not high enough. Here is the same fiddle without overflow, but I can not see the lower part of the menu, if screen is not high enough. but here the search module escapes the sidebar How can it be solved? any help is appreciated |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
@hakeem86 I hacked this by creating two overlaying vertical menus (one for the search, one for the menu) and gave a top margin to the second one to make the search input appear. Not perfect but works so far without much more investigation. |
Beta Was this translation helpful? Give feedback.
-
Awesome work!! many thanks Is this maybe a bug in semantic? results div does not as minimum have the same width as category div. |
Beta Was this translation helpful? Give feedback.
-
I don't think this is a bug because the search results box is within the sidebar and the sidebar has a max width and because of this the results container An easy fix is to manually set the |
Beta Was this translation helpful? Give feedback.
@hakeem86 I hacked this by creating two overlaying vertical menus (one for the search, one for the menu) and gave a top margin to the second one to make the search input appear. Not perfect but works so far without much more investigation.
[Edit] changed height+ z-index of first menu to make your result popup appear
https://jsfiddle.net/adf13s6b/4/