fix(web): tooltip placement (#1577)

* fix(web): tooltip placement

* fix(web): simplify tooltip placement solution
This commit is contained in:
martylukyy 2024-06-19 15:04:26 +02:00 committed by GitHub
parent 3d6c4c09f5
commit f1fa2680a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -67,6 +67,7 @@ export const Tooltip = ({
interactive: true, interactive: true,
delayHide: 200, delayHide: 200,
placement, placement,
followCursor: placement === "right"
}); });
const handleClick = (e: React.MouseEvent<HTMLDivElement>) => { const handleClick = (e: React.MouseEvent<HTMLDivElement>) => {