How to prevent dropdown menu from closing when parent element display is none? For example, show on element hover. I have a div wrapper for Dropdownbutton which only shows dropdownbutton on wrapper hover. However, when dropdownbutton is clicked and you move the cursor to the popup menu it immediately close it.
<div className="hover-show">
<DropDownButton ... />
</div>
#Dropdownbutton