0

When I have HTML element which has 2 event handlers attached which should file due to the same event on the element e.g. onMouseUp and onClick. I have suspicion that I might have race conditions in code related with order of these events.

Is there some specific order ( described by spec / prescribed by code implementation ) these event handlers?

P.S. I can obviously create small Codepen and do empirical tests, but want to know in what way these things are implemented and if something governs the order they are executed in.

zmii
  • 3,742
  • 2
  • 36
  • 59

0 Answers0