Skip to content

Commit c9bd721

Browse files
authored
Merge pull request #1149 from FaheemOnHub/fix/tooltip/delays
fix: custom - tooltip on hover should stay there for atleast some seconds
2 parents 8e96920 + 7dfc6bb commit c9bd721

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/custom/CustomTooltip/customTooltip.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ function CustomTooltip({
2929
}: CustomTooltipProps): JSX.Element {
3030
return (
3131
<Tooltip
32-
enterTouchDelay={0}
33-
leaveTouchDelay={2000}
32+
enterDelay={150}
33+
enterNextDelay={400} //->delay when moving between siblings
34+
leaveDelay={700}
3435
componentsProps={_.merge(
3536
{
3637
tooltip: {

0 commit comments

Comments
 (0)