A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
fix: clear underline on mouseleave (#1521)
Akshay Agrawale62b87d8ecad
diff --git a/frontend/src/core/codemirror/go-to-definition/underline.ts b/frontend/src/core/codemirror/go-to-definition/underline.tsindex b79a38be7f..eb4363cc63 100644--- a/frontend/src/core/codemirror/go-to-definition/underline.ts+++ b/frontend/src/core/codemirror/go-to-definition/underline.ts@@ -57,6 +57,7 @@ class MetaUnderlineVariablePlugin {window.addEventListener("keydown", this.keydown);window.addEventListener("keyup", this.keyup);window.addEventListener("blur", this.windowBlur);+ window.addEventListener("mouseleave", this.windowBlur);}update(update: ViewUpdate) {@@ -69,6 +70,7 @@ class MetaUnderlineVariablePlugin {window.removeEventListener("keydown", this.keydown);window.removeEventListener("keyup", this.keyup);window.removeEventListener("blur", this.windowBlur);+ window.removeEventListener("mouseleave", this.windowBlur);this.view.dom.removeEventListener("mousemove", this.mousemove);this.view.dom.removeEventListener("click", this.click);}