Shopify/shopify-app-bridge

nav-menu nested routes

Opened this issue · 0 comments

EDIT Figured it out. Needed to use the Remix NavLink instead of Polaris's

Hey I'm having a hard time getting any idea how to have my app bridge NavMenu detect nested routes. ( I know it explicitly says it doesn't support nested routes ). What I'm looking to do is just have the correct Link display active styles in the NavMenu when I'm on a route nested in the parent route. For example if I have a /product <Link />, I want that <Link /> to also highlight when I go to /product/${id} and/or /product/edit/${id}