# Login dialog closes upon mouse button up

**URL:** <https://meta.discourse.org/t/login-dialog-closes-upon-mouse-button-up/114731>\
**Category:** Bug\
**Created:** [11 april 2019 om 07:57 UTC](https://meta.discourse.org/t/login-dialog-closes-upon-mouse-button-up/114731 "2019-04-11T07:57:34Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![nbianca](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nbianca/32/157984_2.png) [@nbianca](https://meta.discourse.org/u/nbianca)\
**Post date:** [11 april 2019 om 18:23 UTC](https://meta.discourse.org/t/login-dialog-closes-upon-mouse-button-up/114731/5 "2019-04-11T18:23:17Z")

</div>

I have [fixed](https://github.com/discourse/discourse/pull/7366) this by using `mousedown` instead of `click`, but I am not 100% sure about this solution.

I cannot remember, is this a new bug or a regression?

---

_[View the full topic](https://meta.discourse.org/t/login-dialog-closes-upon-mouse-button-up/114731)._
