I've run into two issues with dropdown menu items on mobile devices. Specifically:
- My nav-collapse isn't shown on the first click of btn-navbar, but only on an iPhone.
- While I can toggle dropdowns, I can't click on any dropdown-menu items on mobile devices.
My page is valid on W3 Validator and I have added both the .nav-collapse and .collapse classes to my navbar. Plus everything works fine when resizing the browser window on my laptop.
You can see the live web page here: http://hartmandashboard.com/
Has anyone seen this problem before? Anyone care to offer a potential fix? I'd appreciate any help.
Thanks
Yes, I've seen this before and I saw the issue is on github as well. I don't remember exactly where I found this, but some guy was saying that it was an issue about setting those elements to
position: absolute;
and that re setting them to static would fix it.So why don't you go ahead and try this on your custom CSS:
CSS
Let me know if we're on the same page and this solved your issue.
This was initially a bootstrap problem. See the fix here: https://github.com/twbs/bootstrap/issues/9543