See this codesandbox
When I click on one of the buttons to resize the grid, I trigger a rerender of the plot. The changes are reflected but it has the side effect of making the ticks on the x-axis disappear.

I created this issue here because I could not reproduce solely using plotly.js, see my attempt here.
Interestingly, adding key={Math.random()} fixes the issue 💩
Thanks
See this codesandbox
When I click on one of the buttons to resize the grid, I trigger a rerender of the plot. The changes are reflected but it has the side effect of making the ticks on the x-axis disappear.
I created this issue here because I could not reproduce solely using
plotly.js, see my attempt here.Interestingly, adding
key={Math.random()}fixes the issue 💩Thanks