Skip to content

Commit bd3bfb0

Browse files
authored
Merge pull request #238 from nikbelikov/patch-1
Update README.md
2 parents 629d832 + f8aa4f3 commit bd3bfb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ import ReactTooltip from 'react-tooltip'
114114
The component was designed to set a `<Reactooltip />` one place then use tooltip everywhere, but a lot of people stuck in using this component with modal, you can check the discussion [here](https://github.com/wwayne/react-tooltip/issues/130), the summarization of solving the problem is as following:
115115

116116
1. Put `<ReactTooltip />` out of the `<Modal>`
117-
2. Use `React.rebuild()` when opening the modal
117+
2. Use `ReactTooltip.rebuild()` when opening the modal
118118
3. If your modal's z-index happens to higher than the tooltip, use the attribute `class` to custom your tooltip's z-index
119119

120120
>I suggest always put `<ReactTooltip />` in the Highest level or smart component of Redux, so you might need these static

0 commit comments

Comments
 (0)