-
Notifications
You must be signed in to change notification settings - Fork 201
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 options very sensitive avoid scroll this menu #9
Comments
I've been having the same issue, I did you manage to find a fix? |
Yes, I resolve this issue, I don't remember at this time how to resolve but I will check my old projects to get solution for you. |
I ended up getting around the issue by using Hammer.js and rewriting the javascript logic code to use functions provided by hammer.js instead. I'd still be interested to see how you fixed it without using an external lib though, but don't worry if you can't find it :) |
ev.preventDefault(); is preventing scrolling in the mlpushmenu.js working on a fix for this.... |
change line 136 to always be 'click' this was hanging up the menu on new page load so i added this to line 174 |
Changing line 136 worked for me, but adding self._resetMenu(); to line 174 gave me a "not a function error" in the console. Seems to work without it though. Not sure if the line numbers are off now, some context would help to know if I placed it in the right place. |
That works, thanks. I had it a couple lines below under _openMenu : function( subLevel ) which did not work. |
My solution/workaround. .min file or if you want to read the full non min version; this is the offending line for scrolled content. |
I have problem in mobile device when I try to scroll this menu if ammount of menu options not fit on all height of the screen, Apears that the menu is very sensitive, when I try to scroll the options are activated and avoid to scroll the menu to view all options bellow.
Best regads
The text was updated successfully, but these errors were encountered: