Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Text move to wrong position when scrolling & update (or relayout) graph

In my plotly graph in JS, I have a problem with the text position of annotation when I scroll down.
You can see the exemple in codepen :
If you reduce the graph window (by clicking on “Console” for exemple) then scroll down until bottom of the graph -> then click on a data point to start the plotly js function. You will see that text position is wrong because the text should appear on the top of the arrow…

If you scroll up to the top of the graph and click again -> text position is good (on the top of the arrow)…

Any idea to fix this ?


Thanks very much for the report.

This is regression in 1.27.0, so switching back to 1.26.1 should solve the issue.

For the latest development info, see

1 Like