How to deal with the bug that prevents line breaks in X DMs (XChat) and Grok: A bug is occurring where pressing Enter sends the message

In the X mobile app, a bug is occurring in XChat (formerly DMs) where pressing Enter while writing a message sends the message you are typing instead of inserting a line break.
A similar bug is also occurring in the Grok app for Android.
Table of Contents
Details of the bug
Until now, in XChat, you could insert a line break in a message by tapping Enter (↵) on the keyboard while typing, but after a recent update, line breaks can no longer be inserted.
When you tap Enter while typing a message, the message you are typing is sent instead of a line break being inserted.
Because the message is sent as-is by an action that should insert a line break, this is an inconvenient bug that makes accidental sending more likely when trying to send a long message.
In services where Enter sends a message, it is often possible to insert a line break with Shift + Enter, but even when I pressed Shift + Enter on the English version of Gboard, it was sent without inserting a line break.
When I checked in my environment, this bug occurred in X for Android version 11.82.0-beta.0, but it did not occur in X Lite version 11.86.0-release.05.
I was also able to confirm that the same bug occurred in the Android version of the Grok app version 1.1.51-release.01.
Cause
At the time of writing, X has not made any official announcement about this bug.
Because the bug does not occur in X Lite, I believe there is a high possibility that there is a bug in the implementation of the text box in the X app and the Grok app.
There may be a bug in the shared input component or text input processing used by X.
Similar bugs are often seen in services that handle chat.
In English-speaking regions, there is no culture of using Enter in an IME (keyboard app) to confirm conversion candidates while entering text, so services often end up with a specification where Enter sends the message without considering whether text conversion is in progress.
Although it is not exactly the same as the current bug in XChat and Grok, it is a very similar issue.
Workarounds
In X for Android version 11.82.0-beta.0, the line break bug occurs, but it does not occur in the newer version 11.82.0-beta.1.
I use the beta version of the X app, so I do not know when it will be fixed in the stable version, but I do not think it will take very long.
Until the update is released, it would be a good idea to use X Lite or draft your message in a notes app and then paste it.
X Lite can be enabled from the sidebar in X for Android in some environments.
![画面中央上部に金属風に輝くXのロゴが配置されており、その下に大きく[新しいX Androidのご案内]というテキストが配置されている。さらにその下には[新しいX for Androidをお試しください。より快適にご利用いただけるよう、Xアプリがバージョンアップされました。][メニューからいつでも元に戻せます。まれなケースですが、アプリの再インストールが必要になることがあります。]と書かれている。画面下部には[今すぐ試す][キャンセル]という2つのボタンが表示されている](/_next/image/?url=%2Fapi%2Fmedia%2Ffile%2Fintroducing-new-x-android.png&w=1920&q=75)
X Lite is a new app built by remaking X for Android from scratch, but because it is still in development, not all features have been implemented, so caution is required.
Although it takes a little extra effort, the most reliable method is to draft the message in a notes app or the post composer and then copy and paste it into XChat to send.
Conclusion
In the X mobile app, a bug is occurring in XChat where pressing Enter sends the message you are typing instead of inserting a line break.
This bug has been fixed in the latest X app, so wait for the update to be released.
Until then, I recommend either switching to X Lite, which is not affected, or pasting in text that you drafted in a notes app or elsewhere.
Share this article
Follow us for updates
Adding us to your preferred sources on Google makes it easier to find our articles on Google. Also, be sure to follow us on X and our RSS feed.
-1.png&w=1080&q=75)
I've been using JavaScript more than my native language since birth. I am nowhere and everywhere on the internet.
I build web apps and browser extensions in TypeScript as a web frontend programmer. I released Shadowban Scanner, a tool that detects shadowbans on X, and Restore Link Card, a tool that brings back link cards. Media outlets in Japan and abroad covered both tools. For iGEM 2023, I built the Wiki for Team Japan-United and helped the team win the Grand Prize. On my blog, I cover news about X and social media, test and troubleshoot bugs, and share frontend development insights.




![Xアプリの[データ利用の設定]画面のスクリーンショット](/_next/image/?url=%2Fapi%2Fmedia%2Ffile%2Fimage-1390.png&w=1920&q=75)
![Xのブックマーク画面に複数のフォルダーが表示されている画像。フォルダーの名前はそれぞれ[すべてのブックマーク][イラスト][面白い投稿]となっている](/_next/image/?url=%2Fapi%2Fmedia%2Ffile%2Fimage-1378.png&w=1920&q=75)
![[Draw blur]と表示されたXの新しい画像エディター画面のスクリーンショット。上部に戻る、切り抜き、テキスト、描画、ぼかし、保存の各アイコンが並んでいる](/_next/image/?url=%2Fapi%2Fmedia%2Ffile%2Fx-new-photo-editor.jpeg&w=3840&q=75)
![タイムラインの上部にGrokのロゴと[What do you want to see more of?]というテキストが表示されており、その下のテキストボックスに[More funny content, less politics]と入力されている画面のスクリーンショット](/_next/image/?url=%2Fapi%2Fmedia%2Ffile%2Fx-grok-promptable-timeline-prototype.png&w=1920&q=75)

![スマートフォンのホーム画面の[Social]フォルダーを表示した写真。フォルダー内にはFacebook、Instagram、Threads、X、LinkedIn、TikTok、YouTubeのアイコンが配置されている](/_next/image/?url=%2Fapi%2Fmedia%2Ffile%2Ffacebook-instagram-threads-x-twitter-linkedin-tiktok-youtube-mobile-app-unsplash.jpg&w=3840&q=75)


