mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
Fix for too eager scrolling to bottom when the scroll isn't actually stick to the bottom before resizing the window
This commit is contained in:
parent
1498d90b58
commit
d93bacb76e
|
@ -27,7 +27,8 @@
|
|||
itemView: Whisper.MessageView,
|
||||
events: {
|
||||
'add': 'scrollToBottom',
|
||||
'update *': 'scrollToBottom'
|
||||
'update *': 'scrollToBottom',
|
||||
'scroll': 'measureScrollPosition'
|
||||
},
|
||||
measureScrollPosition: function() {
|
||||
scrollPosition = this.$el.scrollTop() + this.$el.outerHeight();
|
||||
|
|
Loading…
Reference in a new issue