Skip to content

Commit d192c1b

Browse files
committed
Merge pull request mui#1205 from CumpsD/patch-3
Position tooltip on value change
2 parents 2f8af39 + b21335c commit d192c1b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/tooltip.jsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ let Tooltip = React.createClass({
2626
this._setTooltipPosition();
2727
},
2828

29+
componentWillReceiveProps() {
30+
this._setTooltipPosition();
31+
},
32+
2933
componentDidUpdate() {
3034
this._setRippleSize();
3135
},

0 commit comments

Comments
 (0)