I need to detect if the drop-down list is currently present in the screen to hide the footer of the app. I found this solution for the keyboard:
document.addEventListener("showkeyboard", function() {
$("#footer1").hide();
}, false);
source: find keyboard is visible using jquery
Now I'm looking for a way to detect the drop down list. Thanks.
Sample image:

<select></select>element, is it really necessary to show that code? when tapped, it opens the phone's default drop down list. I'll attach an image in a moment.