|
@@ -20,6 +20,7 @@ import {expandMarker} from "./expandMarker";
|
|
|
import {highlightToolbarIR} from "./highlightToolbarIR";
|
|
|
import {input} from "./input";
|
|
|
import {processAfterRender, processHint} from "./process";
|
|
|
+import {hidePanel} from "../toolbar/setToolbar";
|
|
|
|
|
|
class IR {
|
|
|
public range: Range;
|
|
@@ -74,6 +75,10 @@ class IR {
|
|
|
});
|
|
|
});
|
|
|
|
|
|
+ this.element.addEventListener("scroll", () => {
|
|
|
+ hidePanel(vditor, ["hint"]);
|
|
|
+ });
|
|
|
+
|
|
|
this.element.addEventListener("compositionstart", (event: InputEvent) => {
|
|
|
this.composingLock = true;
|
|
|
});
|