I am trying to get my button to remain active when the user switches between tabs (created natively in Webflow).
I have used the following for when the page loads but if I start in a different tab and then toggle over, the button background color doesn’t stay on focus.
I have an isotope filter on some CMS content. When my initial page is not the tab where the isotope list is on the button loses its focus when I selected the tab:
However if I make that tab the initial tab everything works fine and the list displays nicely.