Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

Dist bar bar value will render multiple times #712

Closed
Mikedu1988 opened this issue Jul 28, 2020 · 2 comments
Closed

Dist bar bar value will render multiple times #712

Mikedu1988 opened this issue Jul 28, 2020 · 2 comments
Labels
#bug Something isn't working

Comments

@Mikedu1988
Copy link
Contributor

Describe the bug
We have a bar chart, and if we click the breakdowns quickly, the value of the dist bar will render multiple times

To Reproduce
Steps to reproduce the behavior:

  1. quickly click breakdowns for many times

Expected behavior
Only render the last result

Screenshots
image

Additional context
I think the problem is here in legacy-preset-chart-nvd3/lib/utils.js where bar-chart-label-group removed and added, but if user click more than once during ANIMATION_TIME, there will be more values rendered.
image

@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.99. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@issue-label-bot issue-label-bot bot added the #bug Something isn't working label Jul 28, 2020
@Mikedu1988
Copy link
Contributor Author

issue fixed and merged, close the ticket

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
#bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant