-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
[Menu] Bug with a computer (and tablet) that has a touch screen #9652
Comments
First of all, are you talking about phones or tablets ? Because there is no such On tablet , yes there is such issue, just checked up and within docs only ! cc / @ncoden |
I have view this bug with a computer or tablet no with a tel ;) I don't know why but in some page in the foundation site the menu work. |
The code example of the page http://foundation.zurb.com/sites/docs/dropdown-menu.html was affected it's don't change the hash with tap |
Just had some testing and yup this is a issue with touch screen! Also, this bug is not related to docs |
In short , This is a bug specific to Dropdown Menu. The Links are not clickable on any submenu of the dropdown menu within any Touch Screen devices(mobile, desktop, tablet, etc) ! Thanks for reporting. cc / @kball @gakimball |
I don't know if is oki after this change in /js/foundation.dropdownMenu.js aparently it work // Handle Leaf element Clicks
if (_this.options.closeOnClickInside) {
this.$menuItems.on('click.zf.dropdownmenu touchend.zf.dropdownmenu', function (e) {
var $elem = $(this),
hasSub = $elem.hasClass(parClass);
if (!hasSub) {
return true; //this is added
//_this._hide(); //this is remove
}
});
} |
in the develop branch it's ok ;) |
How to reproduce this bug:
=> the menu open
=> the menu close an don't open the page
What should happen:
the page sould open the link
What happened instead:
=> the menu close and nothing
The problem is reproductible with
=> chrome on windows 10
=> firefox on windows 10
=> edge on windows 10
=> chrome on android device
The text was updated successfully, but these errors were encountered: