# Error message cannot be dismissed by keyboard

**URL:** https://meta.discourse.org/t/error-message-cannot-be-dismissed-by-keyboard/27635
**Category:** Bug
**Tags:** keyboard
**Created:** [2015年四月16日 11:14 UTC](https://meta.discourse.org/t/error-message-cannot-be-dismissed-by-keyboard/27635 "2015-04-16T11:14:48Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![TechnoBear](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/technobear/32/40546_2.png) [@TechnoBear](https://meta.discourse.org/u/TechnoBear)
#### Post date: [2015年四月16日 11:14 UTC](https://meta.discourse.org/t/error-message-cannot-be-dismissed-by-keyboard/27635/1 "2015-04-16T11:14:48Z")

</div>

We’ve recently experienced a huge number of 502 errors (not a Discourse issue). The error message pop-up cannot be dismissed by keyboard.

![](https://global.discourse-cdn.com/meta/original/3X/2/e/2e0546ada6637a054ec672cb6b54b7620f2bd800.png)

Other pop-ups can be dismissed with Enter and I would expect this to be the same.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2015年四月16日 21:29 UTC](https://meta.discourse.org/t/error-message-cannot-be-dismissed-by-keyboard/27635/2 "2015-04-16T21:29:38Z")

</div>

Any idea why this dialog would be behaving differently @eviltrout?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2015年四月16日 21:40 UTC](https://meta.discourse.org/t/error-message-cannot-be-dismissed-by-keyboard/27635/3 "2015-04-16T21:40:47Z")

</div>

I thought Robin isolated this to be an issue with an extension you have, @santouras ?

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [2015年四月16日 22:37 UTC](https://meta.discourse.org/t/error-message-cannot-be-dismissed-by-keyboard/27635/4 "2015-04-16T22:37:28Z")

</div>

That prevents closing the 502 error dialog box? The 502 error was likely due to a customization, but closing the dialog box should be core right?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2015年四月16日 22:39 UTC](https://meta.discourse.org/t/error-message-cannot-be-dismissed-by-keyboard/27635/5 "2015-04-16T22:39:45Z")

</div>

Yeah, sorry I misunderstood…

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [2015年四月16日 22:49 UTC](https://meta.discourse.org/t/error-message-cannot-be-dismissed-by-keyboard/27635/6 "2015-04-16T22:49:01Z")

</div>

> [@TechnoBear](#):
>
> Other pop-ups can be dismissed with Enter and I would expect this to be the same.

Even the edit history modal?

---

<div class="post-metadata">

### Author: ![TechnoBear](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/technobear/32/40546_2.png) [@TechnoBear](https://meta.discourse.org/u/TechnoBear)
#### Post date: [2015年四月17日 12:47 UTC](https://meta.discourse.org/t/error-message-cannot-be-dismissed-by-keyboard/27635/7 "2015-04-17T12:47:36Z")

</div>

> [@Mittineague](#):
>
> Even the edit history modal?

Actually, no - that uses Esc.

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [2015年四月17日 17:24 UTC](https://meta.discourse.org/t/error-message-cannot-be-dismissed-by-keyboard/27635/8 "2015-04-17T17:24:43Z")

</div>

Here’s a fix:

[https://github.com/discourse/discourse/commit/952b3458834811f4f55fa7249c6212ea23f6ed37](https://github.com/discourse/discourse/commit/952b3458834811f4f55fa7249c6212ea23f6ed37)

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2015年四月17日 17:47 UTC](https://meta.discourse.org/t/error-message-cannot-be-dismissed-by-keyboard/27635/9 "2015-04-17T17:47:16Z")

</div>


