https://discord.gg/botpress logo
Webchat lost message when up/down is pressed
# 🤝help
p
report_01K4THGK0BBQWA6S8PWQE19E0W WebChat Text Loss Issue Summary: There's a serious usability bug in the webchat interface that causes complete text loss when using arrow keys during message composition. This significantly impacts user experience. The Problem: When typing a message in the chat input field, pressing the UP ↑ or DOWN ↓ arrow keys (commonly used for text navigation and editing) triggers the message history navigation instead of moving the cursor within the current text. This results in: Complete loss of the text being composed Unwanted jumping to previously sent messages Inability to edit text normally within the input field Impact: Users lose their message when trying to edit messages Forces users to retype entire messages from scratch Creates frustration and bad user experience Makes normal text editing practically impossible Steps to Reproduce: Open the webchat interface Click in the message input field Type any text (example: "This is a test message that I want to edit") Press the UP ↑ or DOWN ↓ arrow key to move cursor within your text Result: Your typed text disappears and chat jumps to message history Expected Behavior: Arrow keys should move the text cursor within the input field for normal text editing, NOT trigger message history navigation. Suggested Fix: The message history navigation should only activate when the input field is empty, or use different key combinations (like Ctrl+↑/↓) to avoid conflicts with text editing. Has anyone else experienced this issue? Please react or comment if you've encountered this bug! #BugReport #WebChat #UI #TextLoss