DEV Community

So Sun Park
So Sun Park

Posted on

mouse click, down, up

when you click with your mouse, mouse events fire in this order.

  • down, up, click.

which is counter-tuitive to humans clicking behavior.

  • down, click, up.

So when you try to set some boolean values to via down, up events and fire certain feature/event on mouse-click, be careful.

Top comments (0)