Currently encountering an issue with FIREFOX. There seems to be an invisible list control above a drop-down control (html 'select'). The hidden layer is actually a pop-up that is part of another customized control.
Despite its invisibility, it is causing hindrance in clicking on the underlying drop-down control, giving the impression that the underlying control is disabled. However, it is not disabled as one can still tab over to it. Clicking seems impossible due to the overlay's interference, evident when shifting the underlying control aside resolves the problem.
Could this be a Firefox bug? This scenario does not involve setting a translucency value; instead, it completely inhibits rendering of the control, suggesting that such an invisible element shouldn't intercept mouse events. Interestingly, Internet Explorer does not exhibit this behavior.
Is there a CSS property or JavaScript code that could toggle the visibility and mouse event capturing ability simultaneously?
dd = document.getElementById('lstStudents');
if (dd.style.visibility == 'hidden') dd.style.visibility = 'visible'; else dd.style.visibility = 'hidden';
Update: After reading about the CSS visibility value "hidden", which mentions "The element is invisible (but still takes up space)", I may need to set its height to zero along with adjusting its visibility to resolve the issue.