What is the purpose for the event bubbling phase?

Isn’t event capturing enough? Why does it have to bubble up creating a loop? ELI5 please.

I think largely to give a choice of order, both in how events are processed as well as for things like stopping propagation: for example, do you want to stop the event from reaching all the remaining children (capture) or stop it from reaching the remaining parents (bubble). I believe there was even a time when I was using both capture and bubble for an element handler, but I can’t remember why (obviously it’s not something you’d normally need).

1 Like

Oh, that makes a lot of sense. I’ve been stuck with the mentality of being a user all this time and didn’t even consider about actually having options. Thank you so much for your input! :kissing_smiling_eyes: