Merge pull request #20198 from overleaf/dp-math-preview-improvements

Remove transition from math-preview tooltip to avoid flashing

GitOrigin-RevId: 004c7eeb6d4421a3d11f175a80d217356dfcb2da
This commit is contained in:
David 2024-09-03 16:23:38 +01:00 committed by Copybot
parent 8aa544a5ae
commit 4802d04fb0

View file

@ -145,7 +145,6 @@ const buildTooltipContent = (
const element = document.createElement('div') const element = document.createElement('div')
element.style.opacity = '0' element.style.opacity = '0'
element.style.transition = 'opacity .01s ease-in'
element.textContent = math.content element.textContent = math.content
let definitions = '' let definitions = ''