Skip to content
This repository has been archived by the owner on Aug 22, 2019. It is now read-only.

drop-downs dont work on mobile browsers #55

Open
collabet opened this issue Mar 18, 2014 · 0 comments
Open

drop-downs dont work on mobile browsers #55

collabet opened this issue Mar 18, 2014 · 0 comments

Comments

@collabet
Copy link

This skin is simply brilliant! Love it.
Only drawback I encountered so far: drop-downs dont work on mobiles. Neither Android build-in browser, nor Chrome or Firefox (which isnt supported by bootstrap anyway) does open the menus, they highlight only.
Some research clued me that it's a bootstrap prob, considered fixed in later versions.
Strapping uses v2.3.2 for which I found a fix (1), but dunno what to do with it.

jQuery(document).ready(function($) {
$("li.dropdown a").click(function(e){
$(this).next('ul.dropdown-menu').css("display", "block");
e.stopPropagation();
});
});

Feeding that somehow into strapping.js just leaves drop-downs open on desktop and doesnt do anything on mobiles.
Any hint or help is appreciated.

  1. http://stackoverflow.com/questions/17178606/bootstrap-dropdown-navigation-not-working-on-mobile-browsers
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant