react-custom-scrollbars icon indicating copy to clipboard operation
react-custom-scrollbars copied to clipboard

Fix #273 Should not use cloneElement and passing new ref within render

Open bristoljon opened this issue 6 years ago • 2 comments

Fix #273

This allows passing the ref down to nested components e.g. when using styled components that take an innerRef.

I did not update or add any tests but I think they were still all passing

bristoljon avatar Sep 24 '18 10:09 bristoljon

+1

Im also a huge fan of using styled-components, this would be a gamechanger!

stammbach avatar Sep 26 '18 10:09 stammbach

It is great! can this be merged?

KKzLEO avatar Oct 20 '21 11:10 KKzLEO