Skip to content

Commit 73f37d8

Browse files
authored
Merge pull request #369 from aronhelser/dynamic_content_hide_tooltip
fix(index.js): add missing argument so tooltip hides.
2 parents 9d1af9e + 4d3661b commit 73f37d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ class ReactTooltip extends Component {
295295
this.intervalUpdateContent = setInterval(() => {
296296
if (this.mount) {
297297
const {getContent} = this.props
298-
const placeholder = getTipContent(originTooltip, getContent[0](), isMultiline)
298+
const placeholder = getTipContent(originTooltip, '', getContent[0](), isMultiline)
299299
const isEmptyTip = typeof placeholder === 'string' && placeholder === ''
300300
this.setState({
301301
placeholder,

0 commit comments

Comments
 (0)