mirror of https://github.com/fantasticit/think.git
fix: delete auto scroll
This commit is contained in:
parent
680303c078
commit
ae552e192c
|
@ -78,17 +78,9 @@ export const EditorInstance = forwardRef((props: IProps, ref) => {
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
//
|
//
|
||||||
}
|
}
|
||||||
|
|
||||||
if (editable) {
|
|
||||||
scrollEditor(this);
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
onCreate() {
|
onCreate() {
|
||||||
toggleCreated(true);
|
toggleCreated(true);
|
||||||
|
|
||||||
if (editable) {
|
|
||||||
scrollEditor(this);
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
onDestroy() {},
|
onDestroy() {},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue