Ajaxy / telegram-tt

Telegram Web A, GPL v3
https://web.telegram.org/a
GNU General Public License v3.0
2.2k stars 463 forks source link

fix: broken scroll behavior #319

Open itwaze opened 7 months ago

itwaze commented 7 months ago

Currently, scrolling does not work for scheduled and pinned messages.

Also, scrolling in normal or select mode with or without sponsored message works partially and the UI looks broken.

This PR contains those corrections.

PS: npm run check passed for touched files.

BEFORE:

https://github.com/Ajaxy/telegram-tt/assets/10471508/28eb50ac-3021-432d-9ad9-a65b8cfba5d7

https://github.com/Ajaxy/telegram-tt/assets/10471508/8bdf2d2f-aee5-45e8-bdea-32b3710381ec

AFTER:

https://github.com/Ajaxy/telegram-tt/assets/10471508/a0d26313-0dc6-4cbd-9f1c-eac2d61a6431

https://github.com/Ajaxy/telegram-tt/assets/10471508/f5756c3c-d254-4dd9-9769-a2bb1f79ef36

itwaze commented 6 months ago

ping @Ajaxy merge conflict was solved

itwaze commented 4 months ago

@korenskoy @Ajaxy any updates?

Ajaxy commented 4 months ago

Hey @itwaze thanks for bringing this up. We will check your suggestions.