Skip to content

<span>'s in text labels move during animations #1556

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

Closed
n-riesco opened this issue Apr 5, 2017 · 1 comment · Fixed by #1602
Closed

<span>'s in text labels move during animations #1556

n-riesco opened this issue Apr 5, 2017 · 1 comment · Fixed by #1602
Labels
bug something broken

Comments

@n-riesco
Copy link
Contributor

n-riesco commented Apr 5, 2017

I have created a scatter plot that changes the opacity of a trace when clicked.
I have also set text labels for each point.
The text labels contain <span>'s and I've noticed they move during animations.

Here's a codepen that illustrates the issue better than I can describe.

@rreusser
Copy link
Contributor

rreusser commented Apr 5, 2017

Hmm… I don't know why it's happening, but here's what's happening:

ezgif-1-c5b1134278

During the animation, the span gets offset properties. I'll need to investigate further though. I recall svg text span positioning being kinda strange and complicated the first time I encountered it.

@etpinard etpinard added the bug something broken label Apr 6, 2017
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 a pull request may close this issue.

3 participants