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
Issue: After calling Plotly.restyle on a rendered chart, onClick callback fail to be called.
Reproduction: https://codesandbox.io/s/youthful-ganguly-kt5pq7?file=/src/chart.tsx Using this example, you are able to click the line points or the bar and see the selection updated at the bottom. this works indefinitely, and as expected. By clicking the restyle button, the bars will change color from orange to blue. After this, click events cease to work on both the bar and the line plots.
Expected functionality: Click events should continue to work after a Plotly.restyle event is called and function like the base plotly does as demonstrated
The text was updated successfully, but these errors were encountered:
Issue: After calling Plotly.restyle on a rendered chart, onClick callback fail to be called.
Reproduction: https://codesandbox.io/s/youthful-ganguly-kt5pq7?file=/src/chart.tsx Using this example, you are able to click the line points or the bar and see the selection updated at the bottom. this works indefinitely, and as expected. By clicking the restyle button, the bars will change color from orange to blue. After this, click events cease to work on both the bar and the line plots.
Base Plotly: this DOES work as expected in base plotly using the same data and same reproduction steps https://codepen.io/swalsh81/pen/gOqaxeP
Expected functionality: Click events should continue to work after a Plotly.restyle event is called and function like the base plotly does as demonstrated
The text was updated successfully, but these errors were encountered: