Skip to content

Fix hover label after resize bug #631

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 13, 2016
Merged

Fix hover label after resize bug #631

merged 2 commits into from
Jun 13, 2016

Conversation

etpinard
Copy link
Contributor

fixes #606

by grabbing refs to x/y axis using Axes.getFromId instead of looking into fullLayout._plots -
as it was done before commit 858a338 .

But really, the axis refs in fullLayout._plots should always be up-to-date. A future maintenance PR should address this.

etpinard added 2 commits June 13, 2016 12:20
- looks like fullLayout._plots does not get updated properly
  on resize. Fixing that deserves a PR of its own.
- this commit reverts to the pre-#575 behavior
@etpinard etpinard added bug something broken status: reviewable labels Jun 13, 2016

// TODO make sure that fullLayout_plots axis refs
// get updated properly so that we don't have
// to use Axes.getFromId in general.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you open an issue for this so we don't forget?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure. Done in #634

@mdtusz
Copy link
Contributor

mdtusz commented Jun 13, 2016

💃

@etpinard etpinard merged commit d5c220f into master Jun 13, 2016
@etpinard etpinard deleted the hover-resize-fix branch June 13, 2016 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect hover label position after resize
2 participants