NavMenu with nested active link

Hello, we have some NavMenu component from new app-bridge in our public admin app and it shows incorrect active link if merchant visited some nested url.

For example, if merchant opened /customers/:ID page - home link became active, but we expect - /customers link is active.

Is it possible to manage this mechanism?

import {
	Link,
} from "@tanstack/react-router";
import { NavMenu } from "@shopify/app-bridge-react";

<NavMenu>
	<Link to="/" role="home">
		Home
	</Link>
	<Link
		to="/customers"
	>
		Customers
	</Link>
</NavMenu>
"@shopify/app-bridge": "^3.7.10",
"@shopify/app-bridge-react": "^4.2.0",
"@shopify/polaris": "^13.9.3",