Skip to content

Commit 86e03db

Browse files
committedApr 10, 2016
Bump 0.5.3
1 parent 5d01fef commit 86e03db

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
 

‎lib/tooltip.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,10 @@ var Tooltip = function (_Component) {
9292
value: function componentWillReceiveProps(nextProps) {
9393
var place = nextProps.place;
9494
var content = nextProps.content;
95+
var children = nextProps.children;
9596

9697
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)) {
9899
this.updatePosition(nextProps);
99100
}
100101
}

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "redux-tooltip",
3-
"version": "0.5.2",
3+
"version": "0.5.3",
44
"description": "A tooltip React component for Redux",
55
"main": "./lib/index.js",
66
"repository": {

0 commit comments

Comments
 (0)
Please sign in to comment.