How to navigate between sections of app and have NavMenu selected item update

Hey all,

Using Remix template.

My app has multiple sections listed under the NavMenu.

However there are various areas within each section where you need to be able to jump directly to another section.

A Simple Example…

NavMenu:
Products
Settings

Under Settings, there are different sub-pages:

General Settings
Product Settings
etc

From the Products page, we also have a direct link to the Product Settings page.

If the user first clicks Products from the NavMenu, ‘Products’ becomes the selected item in the NavMenu.

If the user then clicks the direct link within the Products page, to Product Settings, the Product Settings page loads, but the selected item in the NavMenu remains as ‘Products’ rather than ‘Settings’.

We’ve had BFS feedback that this is an issue.

There doesn’t seem to be any way to get the selected item in the NavMenu to be ‘Settings’ at this step.

How do we get around this? Surely you need to be able to navigate between sections from within pages, not only using the NavMenu.

I’m using the Polaris component in most cases.

Cheers!