File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -92,9 +92,10 @@ var Tooltip = function (_Component) {
92
92
value : function componentWillReceiveProps ( nextProps ) {
93
93
var place = nextProps . place ;
94
94
var content = nextProps . content ;
95
+ var children = nextProps . children ;
95
96
96
97
var origin = ( 0 , _utils . originOrEl ) ( nextProps ) ;
97
- if ( origin && ( ( 0 , _utils . originOrEl ) ( this . props ) != origin || this . props . place !== place || this . props . content !== content ) ) {
98
+ if ( origin && ( ( 0 , _utils . originOrEl ) ( this . props ) != origin || this . props . place !== place || this . props . content !== content || this . props . children !== children ) ) {
98
99
this . updatePosition ( nextProps ) ;
99
100
}
100
101
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " redux-tooltip" ,
3
- "version" : " 0.5.2 " ,
3
+ "version" : " 0.5.3 " ,
4
4
"description" : " A tooltip React component for Redux" ,
5
5
"main" : " ./lib/index.js" ,
6
6
"repository" : {
You can’t perform that action at this time.
0 commit comments