You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 9, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -101,6 +101,10 @@ class App extends Component {
101
101
}
102
102
```
103
103
104
+
> **Note 1**: You should also set the `hideOnClick` prop to `false` if you don't want the tippy to hide when the user clicks on the document somewhere.
105
+
106
+
> **Note 2**: Use this prop instead Tippy's native `showOnInit` prop. The native prop just shows the tippy on init but won't respond to prop changes.
107
+
104
108
### `onCreate?: (tip: Instance) => void`
105
109
106
110
Callback invoked when the Tippy instance has been created. Use this when you need to store the Tippy instance on the component.
0 commit comments