# Emoji选择器导致Android/Chrome中的消息编辑器崩溃

**URL:** <https://meta.discourse.org/t/emoji-selector-crashes-the-message-editor-in-android-chrome/187009>\
**Category:** Bug\
**Tags:** composer\
**Created:** [2021 年4 月 15 日 20:06 UTC](https://meta.discourse.org/t/emoji-selector-crashes-the-message-editor-in-android-chrome/187009 "2021-04-15T20:06:52Z")\
**Posts on this page:** 1\
**Showing post:** 29

<div class="post-metadata">

作者： ![Osama](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/osama/32/98013_2.png) [@Osama](https://meta.discourse.org/u/Osama)\
发布日期： [2021 年11 月 24 日 21:36 UTC](https://meta.discourse.org/t/emoji-selector-crashes-the-message-editor-in-android-chrome/187009/29 "2021-11-24T21:36:25Z")

</div>

我已经合并了此错误的修复程序：

> <https://github.com/discourse/discourse/commit/8fd10e6414cf4eabdb28d2c5bde8a5b25ea4a4df>
>
> This is a workaround for an annoying bug that crashes the browser when an autoco…mplete suggestion is selected on Android if the virtual keyboard is Gboard. It's specific to Gboard because it sometimes sends \`keydown\` and \`keyup\` events twice for a single key press, more details can be found here: https://meta.discourse.org/t/emoji-selector-crashes-the-message-editor-in-android-chrome/187009/24?u=osama.

修复程序已部署到 Meta 和您的站点 @ljpp，请告知我您的用户是否仍然可以重现此问题。

---

_[View the full topic](https://meta.discourse.org/t/emoji-selector-crashes-the-message-editor-in-android-chrome/187009)._
