Email or username:

Password:

Forgot your password?
Top-level
Bill Hunt

@darius one common cause for this is that your pointer has moved slightly during the click and is no longer over the element - which may have moved or transitioned or had a state change during the event. onclick requires both a down and an up on the same element to fire.

2 comments
Darius Kazemi

@krusynth oh right. maybe it registered as a click-and-drag by 1 pixel

Bill Hunt

@darius Right. and that's without shadow DOM shenanigans of elements being replaced due to whatever dark magic React is doing.

Go Up