Update: ace编辑器在卸载时不再自动将滚动条移动到顶部
This commit is contained in:
@@ -357,11 +357,6 @@ class EditorAce extends EditorBase {
|
||||
focus() {
|
||||
this.#editor_.focus();
|
||||
}
|
||||
|
||||
onUnmounted() {
|
||||
this.scrollToTop();
|
||||
super.onUnmounted();
|
||||
}
|
||||
}
|
||||
|
||||
Mixly.EditorAce = EditorAce;
|
||||
|
||||
Reference in New Issue
Block a user