-
[OPIK-6053] [FE] fix: sidebar menu items use exact route matching for active state (#6394)
发布于
2026-04-22 10:46:24 +00:00 -
[OPIK-6053] [FE] fix: sidebar menu items use exact route matching for active state
-
Revision: scope exact route matching to only the Workspace bottom-nav item
Make exact matching opt-in per menu item via a new
exactproperty on
MenuItem. Only the Workspace entry in the bottom nav sets it — its path
is a prefix of all project routes, so prefix matching incorrectly
highlights it on every project page. Other sidebar items keep prefix
matching so child routes still highlight the parent.下载附件
-