I'm facing a weird problem. I have created a css dropdown menu out of select dropdown form element using js. And it seems to work fine in most of the browsers but ios devices. When I hover the dropdown div; css hover event is not triggered in ios devices but if I add an eventlistener to dropdown element with no actions in the listener the hover event starts working.
Here's my code to edit : http://codepen.io/kuldeepdaftary/pen/jKeDi
to test : http://codepen.io/kuldeepdaftary/full/jKeDi
Try commenting following snippet in JS:
$('.dropdown').click(function(){});
once you comment the above part ! Css hover will not work anymore in iphone/ipads but as soon as you uncomment it, it will work normally.
Since the clickevent listner function is blank ! I dont understand what is it that solving the problem?