morethanwords / tweb

Telegram Web K, GPL v3
https://web.telegram.org/k/
GNU General Public License v3.0
1.86k stars 596 forks source link

[BUG] Chats are overscrolled on Firefox #303

Closed kaizjen closed 9 months ago

kaizjen commented 9 months ago

Describe the bug Sometimes, when going from one chat to another, you end up further down than the most recent message, causing you to see an empty screen instead of the messages

To Reproduce Steps to reproduce the behavior:

  1. Log in
  2. Click on a chat and load some messages above
  3. Scroll back down so the most recent message is fully visible
  4. Click on another chat (with less loaded messages)
  5. You'll see an empty screen,
  6. If you scroll up, you'll see the messages.

Expected behavior In Chrome, it works as expected - the chats' scroll is always at the bottom when you click on them.

Screenshots If applicable, add screenshots to help explain your problem. This is what you see in the second chat This is what you see in the second chat after you scroll

Desktop (please complete the following information):

morethanwords commented 9 months ago

Fixed.