Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
mitigations for tooltip flickering
azivnerdbc93f4a7922
diff --git a/src/public/javascripts/services/tooltip.js b/src/public/javascripts/services/tooltip.jsindex c45d3729cc..8f3ea53273 100644--- a/src/public/javascripts/services/tooltip.js+++ b/src/public/javascripts/services/tooltip.js@@ -44,7 +44,7 @@ function setupTooltip() {container: 'body',placement: 'auto',trigger: 'manual',- boundariesElement: 'window',+ boundary: 'window',title: html,html: true});diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.cssindex f8dbf0888f..13907c6340 100644--- a/src/public/stylesheets/style.css+++ b/src/public/stylesheets/style.css@@ -545,6 +545,11 @@ table.promoted-attributes-in-tooltip td, table.promoted-attributes-in-tooltip thoverflow-y: auto;}+/* this should help with tooltip flickering */+.tooltip {+ pointer-events: none;+}+.tooltip-inner {background-color: #fbfbfb !important;max-width: 400px;