CSS Dropdown menu isn't shown even though absolutely positioned because of overflow: hidden
I am building a mega dropdown menu.
The HTML looks a bit like that:
<div class="menu-viewport">
<ul class="menu level-1" style="width: 2609px;">
<li class="menu-item has-children first menuslider-slide">
<a href="/ddd">DDD</a>
<div class="dropdown">
<p>rfpogjfgfdggffdd'j</p>
<p>rfdsfgfgfgd'j</p>
</div>
</li>
<li class="menu-item has-children menuslider-slide">
<a href="/sex">sex</a>
</li>
<li class="menu-item menuslider-slide">
<a href="/fff-3">FFF</a>
</li>
<li class="menu-item menuslider-slide">
<a href="/fff-4">FFF</a>
</li>
<li class="menu-item menuslider-slide">
<a href="/fff-5">FFF</a>
</li>
<li class="menu-item menuslider-slide">
<a href="/www">WWW</a>
</li>
</ul>
</div>
This is a "sliding" menu - the menu-viewport div needs to have overflow hidden while the ul.level-1 as you see has a value calculated from JavaScript (it's a long list of items that scrolls with arrows)
The problem is that because of the overflow: hidden, the content inside "dropdown" is not shown, even if it's set to position:absolute.
Do you see any way around this problem?