Black Lives Matter. Please consider donating to Black Girls Code today.

Dynamic plots prevent scrolling


I find that when I call Plotly.react frequently (say once every 0.25 seconds) on a div at the top of the page, I can’t scroll down since the focus keeps getting re-centered on the plot.

Is there any way to disable this?

Thanks so much for your help!

That shouldn’t happen. Could you share a reproducible example to help us debug?