From 4802d04fb05bc43b976b4ebf4ac6dfc410b8dda0 Mon Sep 17 00:00:00 2001 From: David <33458145+davidmcpowell@users.noreply.github.com> Date: Tue, 3 Sep 2024 16:23:38 +0100 Subject: [PATCH] Merge pull request #20198 from overleaf/dp-math-preview-improvements Remove transition from math-preview tooltip to avoid flashing GitOrigin-RevId: 004c7eeb6d4421a3d11f175a80d217356dfcb2da --- .../js/features/source-editor/extensions/math-preview.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/services/web/frontend/js/features/source-editor/extensions/math-preview.tsx b/services/web/frontend/js/features/source-editor/extensions/math-preview.tsx index 57a94f6946..d5158405b9 100644 --- a/services/web/frontend/js/features/source-editor/extensions/math-preview.tsx +++ b/services/web/frontend/js/features/source-editor/extensions/math-preview.tsx @@ -145,7 +145,6 @@ const buildTooltipContent = ( const element = document.createElement('div') element.style.opacity = '0' - element.style.transition = 'opacity .01s ease-in' element.textContent = math.content let definitions = ''