react-ux-password-field
react-ux-password-field copied to clipboard
Firefox that.refs[that.props.id].getDOMNode is not a function
https://github.com/seethroughtrees/react-ux-password-field/issues/15
Error Line: index.js:251 var elem = that.refs[that.props.id].getDOMNode();
Works with var elem = that.refs[that.props.id]; (now returns node by default)
The above workaround is deprecated and replaced with the following. var elem = ReactDOM.findDOMNode(that.refs[that.props.id])
Reference: https://facebook.github.io/react/blog/2015/10/07/react-v0.14.html http://stackoverflow.com/questions/29527309/react-0-13-this-getdomnode-equivalent-to-react-finddomnode
I'm having the same issue with Firefox 49 with Mac OS X El Captain.
TypeError: s.refs[s.props.id].getDOMNode is not a function
File "webpack:///./~/react-ux-password-field/lib/react-ux-password-field.js" line 327 col 1 in c<.render/<
var elem = that.refs[that.props.id].getDOMNode();
Any update?