I am having an issue with the Bootstrap menu dropdowns on mobile devices (Bootstrap 2). A similar question was asked here with dropdown buttons, however the answer for that
I am using BootStrap 3.1.1. I have tried many answers, dropdown menu works fine on Android devices but still doesn't works on iOS device. Finally I find root cause of the problem.
safari on iPhone only support click event for and
element.
See this passage Click event delegation on the iPhone.
So we need to add custom click delegation. Following code will solve the problem.
$('[data-toggle=dropdown]').each(function() {
this.addEventListener('click', function() {}, false);
});