# What is the purpose for the event bubbling phase?

**URL:** <https://forum.kirupa.com/t/what-is-the-purpose-for-the-event-bubbling-phase/636061>\
**Category:** web dev\
**Created:** [February 21, 2017, 8:02pm UTC](https://forum.kirupa.com/t/what-is-the-purpose-for-the-event-bubbling-phase/636061 "2017-02-21T20:02:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![linsri](https://avatars.discourse-cdn.com/v4/letter/l/c0e974/32.png) [@linsri](https://forum.kirupa.com/u/linsri)\
**Post date:** [February 21, 2017, 8:03pm UTC](https://forum.kirupa.com/t/what-is-the-purpose-for-the-event-bubbling-phase/636061/1 "2017-02-21T20:03:00Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![senocular](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/senocular/32/7217_2.png) [@senocular](https://forum.kirupa.com/u/senocular)\
**Post date:** [February 21, 2017, 10:12pm UTC](https://forum.kirupa.com/t/what-is-the-purpose-for-the-event-bubbling-phase/636061/2 "2017-02-21T22:12:10Z")

</div>

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).

---

<div class="post-metadata">

**Author:** ![linsri](https://avatars.discourse-cdn.com/v4/letter/l/c0e974/32.png) [@linsri](https://forum.kirupa.com/u/linsri)\
**Post date:** [February 22, 2017, 12:24am UTC](https://forum.kirupa.com/t/what-is-the-purpose-for-the-event-bubbling-phase/636061/3 "2017-02-22T00:24:21Z")

</div>

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! 😙
