fix(popover): round coords remove blurred popovers (#1911)

This commit is contained in:
Emile Bangma 2025-04-07 00:23:49 +02:00 committed by GitHub
parent ee8c1dc968
commit 9db66d500e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,7 +23,7 @@ async function mouseEnterHandler(
middleware: [inline({ x: clientX, y: clientY }), shift(), flip()],
})
Object.assign(popoverElement.style, {
transform: `translate(${x}px, ${y}px)`,
transform: `translate(${x.toFixed()}px, ${y.toFixed()}px)`,
})
}