Fix chat unscroll after chat freeze (#8299)

This commit is contained in:
Kristina 2025-03-20 15:44:57 +04:00 committed by GitHub
parent f0dd4403e0
commit a3d9aac42a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -251,8 +251,8 @@
if (topOffset < 0) {
scroller?.scrollBy(topOffset)
} else if (topOffset > 0) {
scroller?.scrollBy(topOffset)
} else if (scrollDiv.scrollTop > 0) {
scrollDiv.scroll({ top: 0, behavior: 'instant' })
}
}