mirror of
https://github.com/discourse/discourse.git
synced 2025-03-26 04:05:35 +08:00

The problem here was that if your input has an Enter listener (such as the chat message input) and the `fill_in(with: str)` string has a `\n` at the end, this is treated as an Enter keypress, so this `fill_in` was submitting the chat message.