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