Skip to content

Annotation text not getting placed correctly on relayout when page is scrolled #1678

Closed
@etpinard

Description

@etpinard

First reported in https://community.plot.ly/t/text-move-to-wrong-position-when-scrolling-update-or-relayout-graph/4209

🆘 This is a regression 1.27.0 🆘

From http://codepen.io/plotly/pen/Kzjamd?editors=0011

  • make the page scrollable (e.g. by opening the codePen console)
  • click on a point, get an annotation (this works)
  • scroll down
  • click on a point, now the annotation text nodes are misplaced
  • scroll up
  • click on a point, now all the annotation text nodes are placed properly

peek 2017-05-12 10-26


I can't find anything suspicious in the 1.27.0 changelog. Maybe the Drawing optimisations of #1585 are to blame?

Metadata

Metadata

Assignees

Labels

bugsomething broken

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions