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

Merge pull request #33 from lxsang/master

fix scrolldown bug
This commit is contained in:
Xuan Sang LE 2020-12-09 12:01:06 +01:00 committed by GitHub
commit 4ba7bd6b24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
}