???
This commit is contained in:
parent
8213380ded
commit
a26f289dd5
|
@ -243,6 +243,7 @@ function adjustScroll(fn: () => void): Promise<void> {
|
|||
scroll(scrollableElement, { top: oldScroll, behavior: 'instant' });
|
||||
|
||||
fn();
|
||||
|
||||
return nextTick(() => {
|
||||
const top = oldScroll + ((scrollableElement ? scrollableElement.scrollHeight : getBodyScrollHeight()) - oldHeight);
|
||||
scroll(scrollableElement, { top, behavior: 'instant' });
|
||||
|
|
Loading…
Reference in New Issue