I have a component with react-vis in it. This component is in react-tabs, on the chart tab. When I access that tab for the first time it is drawn ok. Every time after that it is not drawn at all. What is the issue?
return (
<div style={{
width: "95%",
height: "60vh",
marginLeft: "25px"
}}>
<FlexibleXYPlot>
<HorizontalGridLines/>
<LineSeries
data={preparedData}/>
<XAxis title="1" position="middle"/>
<YAxis title="2" position="middle"/>
</FlexibleXYPlot>
</div>
)