spreed icon indicating copy to clipboard operation
spreed copied to clipboard

Needing to use CTRL+Return/Enter after posting messages with backticks

Open SystemKeeper opened this issue 11 months ago • 5 comments

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Write a message that contain backticks
  2. Send the message normally with Return/Enter
  3. Write a second message (without backticks)

Expected behaviour

Message should be sent via Return/Enter

Actual behaviour

A new line is added instead of sending the message. Sending requires now CTRL+Return/Enter until site is reloaded.

Talk app

Talk app version: 20.1.3

Browser

Operating system: MacOS 15.1

Browser name: Chrome 130

SystemKeeper avatar Jan 23 '25 09:01 SystemKeeper

Cannot reproduce in Chrome on Windows. Checking macOS.

ShGKme avatar Jan 23 '25 10:01 ShGKme

Cannot reproduce on Chrome 130 and macOS Sonoma...

Could you show a screenshot or add a message sample?

ShGKme avatar Jan 23 '25 10:01 ShGKme

I checked again, it seems to happen when I paste something in after a backtick?

https://github.com/user-attachments/assets/3e1820b9-3a3c-4586-8637-c9b17ab73e06

SystemKeeper avatar Jan 23 '25 10:01 SystemKeeper

Ah, could be that paste is broken 👀 Also to that. I think, could be related: when pasting a multiline text with newlines, they parsed differently, and cursor can no longer be moved with arrow keys

Antreesy avatar Jan 23 '25 10:01 Antreesy

  • Also reminds a bit of https://github.com/nextcloud-libraries/nextcloud-vue/issues/4101

SystemKeeper avatar Jan 23 '25 10:01 SystemKeeper