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

Bot chat history scrolling position is not preserved #28085

Open
reallyuniquename opened this issue Jun 25, 2024 · 5 comments
Open

Bot chat history scrolling position is not preserved #28085

reallyuniquename opened this issue Jun 25, 2024 · 5 comments
Labels

Comments

@reallyuniquename
Copy link

Steps to reproduce

  1. Open chat with any bot.
  2. Make sure there is enough history for scrolling.
  3. Post this text in the bot. There is no need for any reply.
Click to expand
1   https://t.me/telegram
2   https://t.me/telegram
3   https://t.me/telegram
4   https://t.me/telegram
5   https://t.me/telegram
6   https://t.me/telegram
7   https://t.me/telegram
8   https://t.me/telegram
9   https://t.me/telegram
10 https://t.me/telegram
11 https://t.me/telegram
12 https://t.me/telegram
13 https://t.me/telegram
14 https://t.me/telegram
15 https://t.me/telegram
  1. Scroll chat history so that link #1 is the only one visible in the viewport.

  2. Click link #1 and navigate to a channel.

  3. Press ESC or click ← to navigate back to the bot.

Expected behaviour

Scroll position is unchanged. Link #1 is the only one visible in the viewport.

Actual behaviour

Scroll position is different. Links from #1 to #5 are all visible in the viewport.

Operating system

Windows 10

Version of Telegram Desktop

5.1.7

Installation source

Static binary from official website

Crash ID

No response

Logs

No response

@reallyuniquename
Copy link
Author

@john-preston Do you mind taking a look at this?
Basically every time you click a t.me/channel link in a bot chat and then go back scroll position goes five lines down for some reason.

@reallyuniquename
Copy link
Author

Still an issue. Everytime I click a t.me link and then go back my bot chat scrolls half a screen down. I'd really like @john-preston to take a look at this.

@reallyuniquename
Copy link
Author

@john-preston I'm really wishing you would take a look at this. This is such an annoying bug.

@reallyuniquename
Copy link
Author

@john-preston Could you, please? I suspect this has something to do with bot "keyboard" since no other chats suffer from this bug.

@john-preston
Copy link
Member

I hope I've fixed that for the next version.

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

No branches or pull requests

2 participants