telegramdesktop / tdesktop

Telegram Desktop messaging app
https://desktop.telegram.org/
Other
26.18k stars 5.19k forks source link

After setting a reaction to a message with a block of code, it goes to the top #28554

Open Dimoka113 opened 6 days ago

Dimoka113 commented 6 days ago

Steps to reproduce

  1. Send a message like "[1,2,3,4]" and format it into a block of code
  2. Put any reaction to the message

Expected behaviour

After setting the reaction, the message should not go anywhere

Actual behaviour

image

p.s Interesting observation, if there is some other text in the message, then the reaction will not break anything, an example photo is below... image

Operating system

Windows 10

Version of Telegram Desktop

5.6.3

Installation source

Static binary from official website

Crash ID

No response

Logs

No response

ilya-fedin commented 5 days ago

It's not really clear what is the bug here? The screenshots in "actual behavior" look as expected behavior.

Dimoka113 commented 5 days ago

Should there really be this big indentation from the end of the code block? It confuses me that while the reaction is not set, the message is displayed correctly. And when there is a reaction, an indentation appears, which seems a little strange to me

Dimoka113 commented 5 days ago

Perhaps I could have expressed myself incorrectly, but here is another example from a video, and it seems strange to me

https://github.com/user-attachments/assets/c97f9287-349b-43eb-93ff-4e603bee961d