-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Links in dropdown menu not firing on iPad #13834
Links in dropdown menu not firing on iPad #13834
Comments
Hi @joeynguyen! You appear to have posted a live example (http://jsfiddle.net/joeynguyen/SYLb8/10/show/), which is always a good first step.
You'll need to fix these errors and post a revised example before we can proceed further. (Please note that this is a fully automated comment.) |
Updated fiddle - http://jsfiddle.net/joeynguyen/SYLb8/12/ |
@twbs-lmvtfy Great Success! |
@joeynguyen Your example has a bunch of probably-irrelevant custom CSS; please remove as much of it as possible. |
Pretty sure that's the intended behavior; I believe it was the best we could do given the limitations of mobile browsers. Although I can't find if/where we state that in our docs. |
Sorry about the extraneous CSS. I've removed as much as I could find - http://jsfiddle.net/joeynguyen/SYLb8/16/ |
Yeah, we do this because otherwise dropdowns wouldn't close when a user
|
I guess you could try and fiddle around with |
Thanks Heinrich! That was definitely the problem. The .dropdown-backdrop had a z-index of 990 (higher than my dropdown menu) so I guess my click/tap on the menu item didn't really register. The weird thing though is that the animation on the link does happen as though it registered the click (menu item link changes colors as though it WAS clicked on) but that's not your fault. It was my fault for not using the .dropdown-menu class which has a z-index of 1000 because I didn't want the rest of the styles associated with that class. |
I'm using the data-toggle="dropdown" attribute and the links aren't working for me on the iPad. The dropdown menu fades out, but the page doesn't load the link in the href URL. Am I doing something wrong?
Also on iPad, if one dropdown is already visible, clicking on another top menu link to get another dropdown to appear requires 2 clicks on that other link which isn't a great user experience. It works fine on desktop (only one click is needed).
Here is my jsfiddle - http://jsfiddle.net/joeynguyen/SYLb8/10/ (You'll have to scroll to the right to see the menu buttons). Thanks.
The text was updated successfully, but these errors were encountered: