Skip to content

Commit 87afffb

Browse files
committed
💄 Add visibility hidden to tooltip
1 parent 3e27782 commit 87afffb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,14 @@ const tooltipBaseStyles: React.CSSProperties = {
4242
borderRadius: "5px",
4343
opacity: 0,
4444
transform: "translateY(-5px)",
45+
visibility: "hidden",
4546
transition: "all 0.2s ease-in-out",
4647
};
4748

4849
const toolTipVisibleStyles: React.CSSProperties = {
4950
opacity: 1,
5051
transform: "none",
52+
visibility: "visible",
5153
};
5254

5355
const CopyMailTo = ({

0 commit comments

Comments
 (0)