1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2025-07-23 17:19:47 +02:00

fix scrollbug

This commit is contained in:
lxsang
2020-12-09 12:13:03 +01:00
parent b57e41014f
commit 78c6b50249
2 changed files with 2 additions and 1 deletions

View File

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