How to make a dropdown menu outside the map in Materialize
I have a Materialize card with a dropdown in the top right corner. However, when the dropdown button is clicked, the menu is displayed, but the contents of the menu do not extend beyond the map:
<ul id='myDropdown-menu' class='dropdown-content'>
<li><a href="#">Option 1</a></li>
<li><a href="#">Option 2</a></li>
</ul>
<div class="card white">
<div class="card-content grey-text text-darken-4">
<span class="card-title grey-text text-darken-4">Card Title</span>
<a id="myDropdown" class='btn-floating waves-effect waves-light transparent right' href='#' data-activates='myDropdown-menu'><i class="material-icons blue-grey-text text-darken-4">more_vert</i></a>
</div>
</div>
How can I get the dropdown menu to go outside the map?
+3
source to share
1 answer