Active button states clashing with on click events triggered by the same button

Hi,

I’ve ran into an issue where i have a button with 3 states: idle, hover, active.

If i link my component variants to use active state either on mouse down/up or on click it causes issues with triggering overlay.

This feels very odd and took me ages to pin down why i couldn’t trigger my modals.

Here is prototype in action.

Is this intended behaviour and i am badly missing something?