mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-03 06:21:28 +00:00
Fix chat unscroll after chat freeze (#8299)
This commit is contained in:
parent
f0dd4403e0
commit
a3d9aac42a
@ -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' })
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user