An interesting distinction!
The bubbling up and invocation of event handlers is queued up as a task in the event loop and as such async) But once it bubbling/handler invocation has started, it’s synchronous, which is why preventDefault() works.

12:17 AM · Nov 14, 2020

0
0
0