Skip to content

Commit

Permalink
Merge pull request #238 from nikbelikov/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
wwayne authored Dec 16, 2016
2 parents 629d832 + f8aa4f3 commit bd3bfb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ import ReactTooltip from 'react-tooltip'
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:

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

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

0 comments on commit bd3bfb0

Please sign in to comment.