fix react 0.14 warning from getDOMNode()
parent
8fed464cf6
commit
d66006893a
|
@ -683,8 +683,7 @@ module.exports = {
|
|||
var node = this.eventNodes[ev.getId()];
|
||||
if (!node) continue;
|
||||
|
||||
var domNode = node.getDOMNode();
|
||||
var boundingRect = domNode.getBoundingClientRect();
|
||||
var boundingRect = node.getBoundingClientRect();
|
||||
|
||||
if (boundingRect.bottom < wrapperRect.bottom) {
|
||||
return i;
|
||||
|
|
Loading…
Reference in New Issue