Преглед изворни кода

Merge pull request #32698 from overleaf/ii-tooltip-flicker

[web] Fix tooltip flickering

GitOrigin-RevId: 5a0756fb27671dbfa480a0d15d7fbb937aaebf47
Antoine Clausse пре 4 месеци
родитељ
комит
f8235e67e6
1 измењених фајлова са 7 додато и 0 уклоњено
  1. 7 0
      services/web/frontend/stylesheets/components/tooltip.scss

+ 7 - 0
services/web/frontend/stylesheets/components/tooltip.scss

@@ -17,6 +17,13 @@
     top: 1px !important;
     right: -1px !important;
   }
+
+  &:not([data-popper-placement]) {
+    // Prevents flickering
+    position: absolute !important;
+    inset: 0 auto auto 0 !important;
+    opacity: 0;
+  }
 }
 
 .tooltip-inner {