Currently the menu item is marked as active when there is a prefix match on the URL. This creates situations where multiple different menu items appear to be active just because they share a prefix. The match should happen against complete segments within the path.
For example:
/object
/objects
Currently, if I navigate to /object, both of the above menuitems will have active set to True which is not intuitive.
Currently the menu item is marked as active when there is a prefix match on the URL. This creates situations where multiple different menu items appear to be active just because they share a prefix. The match should happen against complete segments within the path.
For example:
Currently, if I navigate to /object, both of the above menuitems will have active set to True which is not intuitive.