Annotation right click

Hello,

is there a possibility to capture click event on an annotation that includes right click? Currently the event plotly_annotationclick doesn’t fire when I right (or middle) click the annotation.

The use-case is tu build a custom context menu on plotly elements (different for points, annotations and (probably) some more elements in future).

Regards,
MPevik

Please subscribe to https://github.com/plotly/plotly.js/issues/2101 for the latest info.

1 Like