react-mixin-sortablejs icon indicating copy to clipboard operation
react-mixin-sortablejs copied to clipboard

Warning in getting DOMNode

Open Tonkonozhenko opened this issue 8 years ago • 1 comments

Hi

I think that there is issue in logic of setting DOMNode here.

I think it must be, but I'm not sure:

DOMNode = typeof this.getDOMNode === 'function' ? (this.refs[options.ref] || this.getDOMNode()) : this.refs[options.ref] || this;

or

DOMNode = this.refs[options.ref] || (typeof this.getDOMNode === 'function' ? this.getDOMNode() : this);

Thanks.

Tonkonozhenko avatar Sep 07 '16 12:09 Tonkonozhenko

Hi I do not know how to use it, how to install this npm package?

xxxsf avatar Jun 30 '17 03:06 xxxsf