fix react 0.14 warning from getDOMNode()
This commit is contained in:
parent
8fed464cf6
commit
d66006893a
1 changed files with 1 additions and 2 deletions
|
@ -683,8 +683,7 @@ module.exports = {
|
||||||
var node = this.eventNodes[ev.getId()];
|
var node = this.eventNodes[ev.getId()];
|
||||||
if (!node) continue;
|
if (!node) continue;
|
||||||
|
|
||||||
var domNode = node.getDOMNode();
|
var boundingRect = node.getBoundingClientRect();
|
||||||
var boundingRect = domNode.getBoundingClientRect();
|
|
||||||
|
|
||||||
if (boundingRect.bottom < wrapperRect.bottom) {
|
if (boundingRect.bottom < wrapperRect.bottom) {
|
||||||
return i;
|
return i;
|
||||||
|
|
Loading…
Reference in a new issue