mirror of
https://github.com/lxsang/antd-web-apps
synced 2024-11-20 02:18:20 +01:00
fix scrolldown bug
This commit is contained in:
parent
bfd21ddb94
commit
b57e41014f
@ -200,8 +200,9 @@ class QuickTalk {
|
|||||||
container.appendChild(footer);
|
container.appendChild(footer);
|
||||||
at.appendChild(container);
|
at.appendChild(container);
|
||||||
if (this.options.page) {
|
if (this.options.page) {
|
||||||
this.options.page.scrollTop = this.options.page.scrollHeight;
|
this.options.page.scrollTop = container.offsetTop;
|
||||||
}
|
}
|
||||||
|
|
||||||
//container.scrollIntoView();
|
//container.scrollIntoView();
|
||||||
return container;
|
return container;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user