Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Fix #1543) Fixed the bug where tapping the send button while inline text prediction has uncommitted text messes up the message #1692

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Roy0Anonymous
Copy link

@Roy0Anonymous Roy0Anonymous commented Feb 24, 2025

As the title says, this bug has existed since Apple launched the inline text prediction and as a long term Telegram user, it used to drive me insane and even forced me to switch to a different app. Finally got some time to fix this issue and will probably shift back to Telegram.

Issue link: #1543

Before After
Screen.Recording.2025-02-24.at.1.56.59.AM.mov
Screen.Recording.2025-02-24.at.2.08.56.AM.mp4

Note: While this fixes the bug for the text field in the chat, it does not fix the same problem in the caption text field when an attachment is added. That legacy code is completely in obj-c and I don't really understand it much.

…ion has uncommitted text messes up the message
@CLAassistant
Copy link

CLAassistant commented Feb 27, 2025

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants