I am struggling with a CSS drop down block that has a select box inside. The issue I'm facing is that whenever I click on the select box, the entire block disappears. Here's a demonstration of the problem on this JSFiddle
:
#ddul {
background: #eee;
padding: 15px;
list-style: None;
display: none;
position: absolute;
top:5px;
left:0;
}
.dd:hover ul#ddul {
display:block;
position: relative;
}
I'm trying to figure out what could be causing this unexpected behavior. Any insights would be greatly appreciated. Thank you.
Update:
I've noticed that the issue persists in Chrome but not in Firefox.
Update:
The dropdown works fine in Chrome on macOS, but not on Ubuntu (Version 12.04).