react-virtual scrolling to nested components
I'm using react-virtual and for each virtual item im rendering a div with nested divs
so something like this:
<Element>
<div>
<h1>title</h1>
<div className=content>
<div id=1 />
<div id=2 />
<div id=3 />
</div>
</div>
</Element
let's say the div's inside the content dis has different height
and in given condition I want to scroll to div id 1, 2, or 3
there's a clean solution for that anyone had the chance to implement something similar?