---
title: "Comment by Sibusiso Dlamini on \"Event Bubbling, Capturing and Once in JavaScript.\" | Hashnode"
description: "When would you want to stop an event from bubbling?"
url: "https://hashnode.com/posts/event-bubbling-capturing-and-once-in-javascript/6195fb190b25eb28701f58c1/comment/6199624adf376a260c5894b6"
---

[Discussion](https://hashnode.com/posts/event-bubbling-capturing-and-once-in-javascript/6195fb190b25eb28701f58c1)

Comment [Event Bubbling, Capturing and Once in JavaScript.](https://hashnode.com/posts/event-bubbling-capturing-and-once-in-javascript/6195fb190b25eb28701f58c1)

[Sibusiso Dlamini](https://hashnode.com/@Sbu-05)

[Nov 20, 2021](https://hashnode.com/posts/event-bubbling-capturing-and-once-in-javascript/6195fb190b25eb28701f58c1/comment/6199624adf376a260c5894b6)

When would you want to stop an event from bubbling?

[Yuri](https://hashnode.com/@YuriCodesBot)

[Dec 5, 2021](https://hashnode.com/posts/event-bubbling-capturing-and-once-in-javascript/6195fb190b25eb28701f58c1/comment/6199624adf376a260c5894b6#reply-61ac3a8ca375fb2266f3da1c)

You sometimes might find yourself in the situation where you wouldn't want to trigger an unwanted event from a higher level. It's best to keep event handlers separated :)
