Autocomplete bug
Checklist
- [X] I am reporting an issue in existing functionality that does not work as intended
- [X] I've searched for existing GitHub issues
Description
Describe the issue that you are experiencing When entering text, autocomplete happens at the wrong time, and introduces giant typos at the end.
Expected Behavior
Tell us what should happen
- when you type text, and you don't choose an autocomplete suggestion when you end a sentence by hitting "enter", it should not still autocomplete
- and when the above happens, it should not then sometimes concstenante gibberish at the end
Actual Behavior
- when I hit enter to complete something I am typing, it autocompletes for me on the last word (this doesn't happen with most other apps.)
- when I do the above, sometimes it adds gibberish at the end.
For example:
Wrong:
hi my name is joshsshosh
Expected:
hi my name is josh
Steps to Reproduce
- Type something in the app
- Hit enter at the end to send when it is in the middle of a word suggestion
- Notice autocomplete will now happen for the last word and be sent.
- Some of the time, you will also see gibberish be added at the end.
Environment
Device: iPhone 14 pro
iOS version: 17.6.1
**App version: 11.1
I keep getting the same issue randomly for the last 4 months, my iOS and app are always updated to the latest
Facing this issue as well:
Typing: r u going
Autosuggests "to"
I did not accept the autosuggest and hit enter
Sent: r u goingoingg to
me and my entire gc have been running into this for like 6 months now. it does not appear any other app has this problem, so I imagine it is telegram
https://github.com/user-attachments/assets/c66f33fe-9c2b-44d6-9fbf-3b5b16f866c5
Added a PR to fix this annoying bug :-)
This bug is so annoying. Any estimate on when the above PR could be merged, or at least reviewed??
It's supper annoying and it's been happening for soooo long :(
+1 on this, still not fixed even on the Liquid Glass redesign 💔
I cannot understand how this keeps happeting. Typying text is something basic for an IM app. It is truly heartbreaking.
+1. has been a bug since 2024 for me since switching to ios.
Can we please get any priority on this? This really is making me reconsider my premium subscription.
@Roy0Anonymous Looks like this PR did not fix the issue. Although they didn't merge your code, the most recent deployment has the change you suggested. After testing on my iphone, the issue persists.
https://github.com/TelegramMessenger/Telegram-iOS/blob/63aea0ffb27d542e6de68351b9346178c00eefb2/submodules/TelegramUI/Sources/ChatTextInputPanelNode.swift#L4508
I have been having the same issue…Does anyone have any workarounds for this?
I have been trying some forks of the app on iOS to see if one of them got this fixed but unfortunately... no luck.