Hello, and compliments !, the component is very helpful.
There is a bug.
If you use the PointSelector and pass to the component an array of annotations already from the first render, the component presents a bug.
> PointSelector.js?9742:14 Uncaught TypeError: Cannot read property 'width' of undefined
> at marginToPercentage (PointSelector.js?9742:14)
I solved the problem by setting the annotations property only to the componentDidMount.
I imagine the problem is timing.
Hello, and compliments !, the component is very helpful.
There is a bug. If you use the PointSelector and pass to the component an array of annotations already from the first render, the component presents a bug.
I solved the problem by setting the annotations property only to the componentDidMount. I imagine the problem is timing.