react-custom-scrollbars
react-custom-scrollbars copied to clipboard
Fix #273 Should not use cloneElement and passing new ref within render
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
+1
Im also a huge fan of using styled-components, this would be a gamechanger!
It is great! can this be merged?