diff --git a/package.json b/package.json index 562a454..babe3ca 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "license": "MIT", "dependencies": { "@codemirror/state": "^6.0.0", - "@codemirror/view": "^6.0.0", + "@codemirror/view": "^6.35.0", "crelt": "^1.0.5" }, "devDependencies": { diff --git a/src/lint.ts b/src/lint.ts index e5665f5..2836a5b 100644 --- a/src/lint.ts +++ b/src/lint.ts @@ -765,6 +765,7 @@ function gutterMarkerMouseOver(view: EditorView, marker: HTMLElement, diagnostic view.dispatch({effects: setLintGutterTooltip.of({ pos: line.from, above: false, + clip: false, create() { return { dom: diagnosticsTooltip(view, diagnostics),