All components: interactive
prop does not reliably suppress clickable legend
#154
Labels
bug
Something isn't working
This is to be looked at after #150
If you look at a story with a plot with
interactive: false
, such as/story/plots-histogram--some-covid-data
then mouse-overs and clickable legend are disabled, as desired.If you then switch to
interactive: true
using storybook controls, the mouse-overs and clickable legend are activated.All good so far!
Then if you set
interactive: false
again, the mouse-overs stop (as desired) but the clickable legend is still active (not desired).Behaviour confirmed for histogram and pieplot.
See also VEuPathDB/web-eda#172 - possibly solved by disabling clickable legend at all times (if we cannot maintain the (plotly) state in our application) - see https://plotly.com/javascript/reference/layout/#layout-legend-itemclick
The text was updated successfully, but these errors were encountered: