How to affix dropdown list menu next to selected dropdown button when user scrolling?
问题 I have faced the similar problem occurred on this page as in my App. When a user selects the drop-down list it will open drop-down menu. But, When the user scroll down the page, the drop-down menu is still on the same position. How to resolve this? Thanks in advance. 回答1: I've recently faced this type of issue. So I've used mouseenter,mouseleave events. $( ".menu-open" ) // not necessary .mouseenter(function() { $( this ).show(); }) // you must put this to hide menu when user leaves the menu