Skip to content

Commit

Permalink
[material-ui][docs] Update the "showing and hiding" section on the To…
Browse files Browse the repository at this point in the history
…oltip page (#40283)
  • Loading branch information
anle9650 authored Dec 25, 2023
1 parent d13081e commit 239b674
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/data/material/components/tooltips/tooltips.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ You need to create an object shaped like the [`VirtualElement`](https://popper.j

## Showing and hiding

The tooltip is normally shown immediately when the user's mouse hovers over the element, and hides immediately when the user's mouse leaves. A delay in showing or hiding the tooltip can be added through the `enterDelay` and `leaveDelay` props, as shown in the Controlled Tooltips demo above.
The tooltip is normally shown immediately when the user's mouse hovers over the element, and hides immediately when the user's mouse leaves. A delay in showing or hiding the tooltip can be added through the `enterDelay` and `leaveDelay` props.

On mobile, the tooltip is displayed when the user longpresses the element and hides after a delay of 1500ms. You can disable this feature with the `disableTouchListener` prop.

Expand Down

0 comments on commit 239b674

Please sign in to comment.