fix(popover): round coords remove blurred popovers (#1911)
This commit is contained in:
parent
ee8c1dc968
commit
9db66d500e
1 changed files with 1 additions and 1 deletions
|
@ -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)`,
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue