overtake / TelegramSwift

Source code of Telegram for macos on Swift 5.0
https://macos.telegram.org
GNU General Public License v2.0
5.07k stars 858 forks source link

[BUG] General chat search resets back to first page on second page scrolling #1147

Open wrathenn opened 4 months ago

wrathenn commented 4 months ago

Reproduce:

1) Search for something in all chats, should respond with multiple pages. 2) Scroll to the end of 1st page, wait for 2nd to load. 3) Scroll to the end of 2nd page, try to load 3rd.

This resets scroll to the end of 1st page, which makes it impossible to see 3rd+ page. Sometimes it even resets while looking on 2nd page.