Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React >0.14.0 Warnings: .getDOMNode() #21

Closed
ghost opened this issue Nov 6, 2015 · 1 comment
Closed

React >0.14.0 Warnings: .getDOMNode() #21

ghost opened this issue Nov 6, 2015 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 6, 2015

Warning: ReactDOMComponent: Do not access .getDOMNode() of a DOM node; instead, use the node directly. This DOM node was rendered by MultiSelect.

The problem is on line 46 of index.js:
$this.$multiselect = $($this.refs.multiselect.getDOMNode());
In React >0.14.0 the dom node is direct in ref, so below should be fixed:
$this.$multiselect = $($this.refs.multiselect);

@skratchdot
Copy link
Owner

This should be fixed in 6bd385e (published to npm as v1.0.0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant