Contacts highlight in Sidebar
A
Atallah Hchimi
I am experiencing an issue where the "Contacts" tab in the sidebar-v2 menu loses its active highlight state depending on the smartlist URL casing. Here is the step-by-step behavior:
- When I click on "Contacts" in the sidebar, the page is correctly highlighted in the menu. The URL is: .../contacts/smart_list/All (with an uppercase "All").
- If I click on my custom smartlist "Essentiel", the highlight disappears from the lateral menu. The URL becomes: .../contacts/smart_list/[my_smartlist_id].
- If I try to click back on the default "All" tab from the top navigation, the highlight still does not return because the URL switches to lowercase: .../contacts/smart_list/all (with a lowercase "all").
The menu highlight only comes back if I explicitly click on "Contacts" again in the sidebar menu (which forces the uppercase /All URL).
Note: I am using custom CSS, but this issue only happens on the Contacts page. On the "Opportunities" page, I also use smartlists/pipelines and the sidebar highlight works perfectly fine.
It seems the sidebar-v2 "Contacts" menu item is strictly looking for the .active class based on the exact case-sensitive URL ending in /All. When the URL uses /all or a smartlist ID, the active class is dropped (hypothesis).
This issue started happening recently, likely after a recent UI/routing update?
Photo Viewer
View photos in a modal
Log In