react-plotly.js
react-plotly.js copied to clipboard
React createRef() current.el._fullLayout.yaxis.range - wrong values on render
Hi Plotly Team,
I'm trying to use createRef() in react for getting the current plotly-chart yaxis-range, but when the focus changes (e.g. open a modal/popup), the plotly-chart component starts giving wrong values of [-1, 4] (always same).
The current.el._fullLayout.yaxis.range object gives wrong axis values, which means it's value is updated somewhere, Is this a problem with react-plotly.js library?

Thanks for your help :)
Regards, Adnan