Well after debugging for a while, I know what causes it. I donβt know why, some expert may try to explain this. IN
.cta-primary:active, .cta-secondary:active
It contains
-webkit-transform: translateY(0.2em); -moz-transform: translateY(0.2em); -ms-transform: translateY(0.2em); -o-transform: translateY(0.2em); transform: translateY(0.2em);
I deleted it and it works. I do not know why this interferes, but it is. Perhaps because the translation moves the element for this active millisecond, and the click does not actually press the button, but visually you cannot say because it is too fast. If you replace 0.2em with 0, it will also work, since it will not move the element. Hope this is what you are looking for.
source share