metismenu icon indicating copy to clipboard operation
metismenu copied to clipboard

URL recognition isn't quite magic enough

Open simmogs opened this issue 9 years ago • 4 comments

I'm trying to use metisMenu on our admin area. When I go to the URL /admin/reports/monthly_sales/, all three listed below are highlighted in the menu. As the admin area is namespaced, all the URLs start with /admin/, therefore visiting any URL will highlight the root admin link.

/admin/reports/monthly_sales
/admin/reports
/admin

I don't know if it's related, but any option at the third level is collapsed, rather than remaining expanded as it should.

simmogs avatar Jul 20 '15 14:07 simmogs

@simmogs Is that what you wanted? https://jsfiddle.net/kvzhb1hg/1/

onokumus avatar Jul 21 '15 07:07 onokumus

That's an accurate example of the layout I already have. Does this work for you as it doesn't work for me. Thanks.

simmogs avatar Jul 25 '15 20:07 simmogs

I have a related issue. If my current page is, for example, local.dev/personas/view, both of links (local.dev/personas/view and local.dev/personas) are marked as 'active'.

How can I control this?

nelson6e65 avatar Jan 19 '16 15:01 nelson6e65

I have the same problem

notridan avatar Nov 01 '17 22:11 notridan