furqanZafar / react-selectize

http://furqanzafar.github.io/react-selectize/
Apache License 2.0
704 stars 138 forks source link

usages of findDOMNode #125

Open elisherer opened 7 years ago

elisherer commented 7 years ago

Hi,

I'm trying to test my components which uses the SimpleSelect field using Jest together with the react-test-renderer. I get an error that ResizableInput is using findDOMNode. using findDOMNode makes the component unrenderable without react-dom which is now not part of react. Can the code be changed to use refs instead?