mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-14 21:02:49 +00:00
fix: 部分手机出现非正常滚动到底部的情况
This commit is contained in:
parent
38d8f289e4
commit
7464de3adc
@ -2155,16 +2155,10 @@ export default {
|
||||
this.__msgs_height = height;
|
||||
},
|
||||
|
||||
onScrollGroupResize({height}) {
|
||||
const {offset, tail} = this.scrollInfo()
|
||||
onScrollGroupResize() {
|
||||
if (this.stickToBottom) {
|
||||
this.onToBottom()
|
||||
} else if (tail > 0
|
||||
&& typeof this.__scroll_group_data !== "undefined"
|
||||
&& offset - this.__scroll_group_data.offset + tail === height - this.__scroll_group_data.height) {
|
||||
this.onToBottom()
|
||||
}
|
||||
this.__scroll_group_data = {height, offset, tail}
|
||||
},
|
||||
|
||||
onActive() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user