Skip to content

Commit d2216d2

Browse files
committed
alpha 3
1 parent bfedd6c commit d2216d2

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-overlays",
3-
"version": "0.50.0-alpha2",
3+
"version": "0.50.0-alpha3",
44
"description": "Utilities for creating robust overlay components",
55
"author": "Jason Quense <[email protected]>",
66
"repository": "react-bootstrap/react-overlays",

src/RootCloseWrapper.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import React from 'react';
22
import ReactDOM from 'react-dom';
3-
import ownerDocument from './utils/ownerDocument';
43

54
import addEventListener from './utils/addEventListener';
65
import createChainedFunction from './utils/createChainedFunction';
@@ -87,7 +86,7 @@ export default class RootCloseWrapper extends React.Component {
8786
// stealing the ref from the owner, but we know exactly the DOM structure
8887
// that will be rendered, so we can just do this to get the child's DOM
8988
// node for doing size calculations in OverlayMixin.
90-
const node = React.findDOMNode(this);
89+
const node = ReactDOM.findDOMNode(this);
9190
return this.props.noWrap ? node : node.firstChild;
9291
}
9392

0 commit comments

Comments
 (0)