If you can share screenshots of the logic being used in highlight field, that should help! I tested out the highlight feature in modules and couldn't replicate the bug. It's possible that there is a scoping issue.
My colleague has a fantastic post about Modules on the forum that you may also find a great resource!
I have the highlight working somewhat by accident now. I made a new module with a vertical navigation and put that in a sidebar on my apps. Didn't specify any highlighting logic, seemed to work automatically.
Any update on this? I see the same issue for horizontal navigation. It works as a component but when I make it a module the active page no longer highlights.
We're experiencing this issue in the self-hosted version 3.120.0.
The problem occurs in a navigation component in the header of our multi-page app (not inside a module). We have logic that uses the retoolContext object, but the issue persists even when we remove that logic and replace it with a static true value.
Our goal is to have a single navigation item highlighted across multiple related pages. However, the highlight only works for the exact page the button links to.
For example, the "Users" navigation item links to /.../users, and it correctly highlights when on that page. But when navigating to other related pages, even when we explicitly set the highlight to true, it does not persist. The same issue occurs when we restore the logic to check for related user pages.