Skip to content
This repository was archived by the owner on Nov 9, 2024. It is now read-only.

Commit f086a88

Browse files
committed
Add notes for the isVisible prop
1 parent 52bfce6 commit f086a88

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@ class App extends Component {
101101
}
102102
```
103103

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+
104108
### `onCreate?: (tip: Instance) => void`
105109

106110
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

Comments
 (0)