# 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:** 1

<div class="post-metadata">

**Author:** ![jack2](https://avatars.discourse-cdn.com/v4/letter/j/ac91a4/32.png) [@jack2](https://meta.discourse.org/u/jack2)\
**Post date:** [11 april 2019 om 07:57 UTC](https://meta.discourse.org/t/login-dialog-closes-upon-mouse-button-up/114731/1 "2019-04-11T07:57:34Z")

</div>

There is an annoying behavior with the login modal dialog: it closes whenever you release the mouse button outside of the dialog. I think this issue is rather new.

This is what happens to me all the time:

1. I click Login
2. I select the previous user name with the mouse so that I can enter another one (I do this a lot for testing purpose). To do this, I click at the end of the user name, drag the selection to the left and release the mouse button outside of the dialog.

Expecting behavior: the user name ends up selected.  
Actual behavior: the dialog closes.

---

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