Conditional "restore on mouse leave"
I am creating a tabs menu, where each tab has its own layer. I'd like the layers visible when the user hovers over their associated tabs, which works fine. When a user actually clicks on a tab, I'd like that layer to STAY visible, even if the cursor leaves. If the cursor hovers over another tab, temporarily show that tab's layer, but then back to the 'clicked' layer when the cursor leaves again. Basically, if a tab has been clicked, that tab's layer should be the default layer to 'restore' to when not actively hovering over something.
I have tried this with "restore on mouse leave" turned on and off, and with the Hover trigger above and below the Click trigger. Somehow it's just not working! Anyone have suggestions? I feel like this should be a natural way for tabs to function.