react-tiny-virtual-list
react-tiny-virtual-list copied to clipboard
Suggestion: Make rootNode public property
Is there any particular reason why rootNode property and/or getRef method are private?
At some use cases it might be handy to have direct access to html element.
Could you consider making it possible to access the element? I can prepare merge request if you want ;-) And if not could you describe your reasons so we can better understand it?
Thank you!
my way is
ref={node => myRef.current = node.rootNode}