Marker keys JSX bug


#1

the key for the markers map should be marker.id or something similar. the error is reproducible in the markers demo repo.

{markers.length !== 0 && (


{markers.map((marker) => (
<div
key={marker}
className={cls(css.marker, marker.css || css.default)}
style={{ left: marker.left }}
>
{marker.text}


))}

)}

#2

Hi,

Thanks for reporting the issue.
We have just released version 1.1.4, which fixes the incorrect behavior.