# Stimulus has no focusout event trigger? not playing nice with bootstrap?

**URL:** <https://discuss.hotwired.dev/t/stimulus-has-no-focusout-event-trigger-not-playing-nice-with-bootstrap/4063>\
**Category:** General\
**Created:** [April 25, 2022, 10:16pm UTC](https://discuss.hotwired.dev/t/stimulus-has-no-focusout-event-trigger-not-playing-nice-with-bootstrap/4063 "2022-04-25T22:16:47Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![pascallaliberte](https://yyz1.discourse-cdn.com/flex027/user_avatar/discuss.hotwired.dev/pascallaliberte/32/18_2.png) [@pascallaliberte](https://discuss.hotwired.dev/u/pascallaliberte)\
**Post date:** [April 26, 2022, 2:36pm UTC](https://discuss.hotwired.dev/t/stimulus-has-no-focusout-event-trigger-not-playing-nice-with-bootstrap/4063/3 "2022-04-26T14:36:32Z")

</div>

There’s the blur event:

> [@Unfocus action?](https://discuss.hotwired.dev/t/unfocus-action/680/2):
>
> Have you tried the blur event? That event fires when a field loses input focus.

There’s also the `click@window->` action that you can catch:

> [@Hide a popup on clicking outside the popup area](https://discuss.hotwired.dev/t/hide-a-popup-on-clicking-outside-the-popup-area/67/4):
>
> Yep, you can use a data-action="click@window-\>controller-name#hide", like here:

---

_[View the full topic](https://discuss.hotwired.dev/t/stimulus-has-no-focusout-event-trigger-not-playing-nice-with-bootstrap/4063)._
