Mojtaba Samimi
Mojtaba Samimi
In your codepen one could activate the shape for editing by clicking on the edge. [The automatic logic](https://github.com/plotly/plotly.js/blob/fefa11cbd533d11dea7db55d5dbed76c6359cf89/src/components/shapes/draw.js#L163-L165) also depends on the opacity of the `shape` & `fillcolor` as well...
> Thank you so much for your help, I didn't know that the fill color opacity could affect the editable status of the shape as it wasn't documented properly. Great....
> Am I missing something or you want to revert a previous work with groupclick="toggleitem" in legend ? I can't really make it work anyway No we are not going...
[Codepen](https://codepen.io/MojtabaSamimi/pen/PvymZq?editors=0010)
Likely related to https://github.com/plotly/plotly.js/pull/2159.
This is the result of this commit: https://github.com/plotly/plotly.js/pull/2159/commits/e6fcbf51de4b41db470b7194835b20f57f06098f 
@etpinard is there a feature related to this?
This issue is currently not on our roadmap in the coming months but we would happily accept a pull request if someone wants to implement it, or [we would accept...
@etpinard thanks very much for the note and opening the issue to reach 1K-issue milestone : )  Hope you are doing well and we can't wait to have your...
There might be cases to end up with multiple polygons too e.g. if one deselect areas from inside a selection.