1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2024-11-19 18:08:21 +01:00

fix scrolldown bug

This commit is contained in:
lxsang 2020-12-09 12:00:23 +01:00
parent bfd21ddb94
commit b57e41014f

View File

@ -200,8 +200,9 @@ class QuickTalk {
container.appendChild(footer);
at.appendChild(container);
if (this.options.page) {
this.options.page.scrollTop = this.options.page.scrollHeight;
this.options.page.scrollTop = container.offsetTop;
}
//container.scrollIntoView();
return container;
}