You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Observation: This bug only seems to apply to deep changes in config.modeBarButtonsToAdd (see the original Steps to reproduce) and config.modeBarButtons (see Steps to reproduce #2, below).
Fixed by introducing the configReactivityStrategy prop which can take either 'none' or 'static-plot' as values, 'static-plot' being the default. Setting the prop to 'none' disables the walkaround. Setting it to 'static-plot' briefly disables plot interactivity after every config change – this forces the modbar buttons to refresh.
Steps to reproduce
Details
This is caused by plotly#6394 –
Plotly.react
ignores some changes in the config:Possible walkarounds
Plotly.react
toPlotly.newPlot
every time config is updated.{ ...element._context }
to config. (No idea what this does, see the upstream ticket)The text was updated successfully, but these errors were encountered: