- This topic has 8 replies, 2 voices, and was last updated 7 years, 3 months ago by chris.
May 6, 2015 at 9:23 am #106081Chris
Hi, I am a first year application development student doing a 5 week work term for a client. Over all I have had good luck working with your template, but I am running into a problem when it comes to submenus on mobile. This is my first time using any CMS as a heads up.
So the problem is that, when on mobile, if you click the menu then click a submenu parent item. The second time you click the parent it does not close the submenu. The submenu also stays open when scrolling the page unless you click the close button. My client would rather it close if nothing is selected. Also when clicking the parent the menu “snaps” open with no animation like the rest of the menu.
Any help would be welcome.May 6, 2015 at 11:08 pm #106241TomLead DeveloperLead Developer
Sorry for not getting back to you sooner!
Here’s how it’s supposed to work:
1. You click the Menu bar, and it opens the menu items
2. When you click on a menu item, it navigates to that page – the mobile menu bar is now closed by default, as the page has reloaded.
Are you saying when you click on a menu item inside the mobile menu, the page loads, but the menu stays open?
Do you have a link to your site so I can make sure everything is working as it should?
Thanks! 🙂May 7, 2015 at 9:27 am #106373Chris
so for example, the projects menu item, if you click it you are shown the submenu items under it. if you click on projects again with the submenu items showing it does not close. the only way to close it is to close the entire menu or switch pagesMay 7, 2015 at 9:40 am #106376TomLead DeveloperLead Developer
Ahh you’re using the legacy mobile menu plugin.
At this time, that mobile menu works so if you tap the parent item once, it will open, if you tap it again, it will go to the URL set for the parent item.
In your case, there’s no URL set for the parent item.
I’ll have to look and see if there’s a way I can detect if # is the URL of the parent item – if so, close the sub menu on second click.
The core mobile menu allows you to top the dropdown arrow to open and close the sub-menu – might be better for you as of right now?
Will look into this 🙂May 7, 2015 at 10:21 am #106384Chris
Ya, I had it set like that before but when asking a few people to test the site most came back and thought that behaviour was a bug. Most where expecting to tap the “projects” item and the menu re-track again. A few didn’t figure out how to close it in the end.May 7, 2015 at 11:13 pm #106502TomLead DeveloperLead DeveloperMay 12, 2015 at 4:18 am #107356chris
just checking to see if theres any update on this. thanksMay 12, 2015 at 12:15 pm #107504TomLead DeveloperLead Developer
Haven’t had time to take a proper look yet – sorry!
I should have some time to look into this once I get the GP Premium update released.
Thanks!May 13, 2015 at 3:50 am #107660chris
oh not a problem at all. =]
- You must be logged in to reply to this topic.