1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2024-12-25 17:08:22 +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;
}