react-tiny-virtual-list icon indicating copy to clipboard operation
react-tiny-virtual-list copied to clipboard

Suggestion: Make rootNode public property

Open janliska opened this issue 5 years ago • 1 comments

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!

janliska avatar Oct 09 '20 10:10 janliska

my way is

ref={node => myRef.current = node.rootNode}

yasintzHepsiburada avatar Apr 14 '21 18:04 yasintzHepsiburada