If I click on the “Files” menu item and then click on a page that doesn’t have a menu item I can’t click on “Files” to go back to the files page. I have to click on another view and then go to files.
I don’t care about the menu being collapsible, I just want to group menu items under a title.
Hello,
Please try to add
urlChange(ui,url){
if (url[1].page === "nomenu")
this.$$("top:menu").unselect();
}
Thanks that works!
It seems silly to have to remember to add each page that doesn’t have a menu item to that check.
I’ve done the inverse and added the menu items, but still you have to remember to add the page to the list when you add a menu item.
if (["data", "files"].indexOf(url[1].page) === -1){