-
Notifications
You must be signed in to change notification settings - Fork 114
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
v2 Bug on mobile devices #14
Comments
I found the part of the code causing the problem, just don't know how to fix it. In the JS file at end: $(window).resize(function () { If you remove this section, the menu will work fine on a phone, but then you can't use it properly on a computer when resizing browser with expanded menu - it breaks. Hope you can provide a fix!!! |
yes I see the same issue, I really would like to use this menu but ya seems like a show stopper, as soon as you lift your finger from the slide, menu closes up. |
Mario, I installed v2 files, but it does not work properly on smart phones. The problem is caused by the window.resize function. Hoping you can provide a fix??????????? |
Maybe you need to check for document_height; as well as width for mobiles??? |
Yes, I have the same problem. Hoping you can provide a fix??????????? |
changing the line $(window).resize(function () { to $(window).on("orientationchange", function() { works for me on iPhone but has to be tested. "orientationchange" is recommended by Apple. |
I will give it a shot, thanks
…On Nov 23, 2017 4:33 AM, "pitcock" ***@***.***> wrote:
changing the line
$(window).resize(function () {
to
$(window).on("orientationchange", function() {
works for me on iPhone but has to be tested. "orientationchange" is
recommended by Apple.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#14 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AXc__3XoWL-o3ceM-IeqzB-xs0wPZrB-ks5s5Tv-gaJpZM4LXJd7>
.
|
The v2 megamenu works fine on computers, but not on mobile devices; including Android and iPhone.
When you open the menu and try to scroll up or down through sub-menu choises, the menu closes. Just the slightest touch and it closes. Please help! Thanks! Example can be found here: http://www.hannabery.com/01homev2.html
The text was updated successfully, but these errors were encountered: