Skip to content
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

removed WithTween wrapper around clipPath to prevent fickering when charts are updated #3692

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

briangregoryholmes
Copy link
Contributor

Closes #3524

Lines that do not extend to the right edge of the graph are clipped using a clipPath. Wrapping clipPath in WithTween delays the appearance of the clipping by a fraction of a second, causing unintended flickering when sorting or updating data.

This PR removes the wrapping of the clipPath element with no immediately apparent change in functionality. However, there may be a good reason that I am not yet aware of for why the tweening is necessary on the clipPath.

Copy link
Member

@djbarnwal djbarnwal left a comment

Choose a reason for hiding this comment

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

Played around with the charts for a bit. Don't see anything breaking. The tween was probably an oversight. Don't think it serves much purpose.

@djbarnwal djbarnwal merged commit 0d86468 into main Dec 14, 2023
2 checks passed
@djbarnwal djbarnwal deleted the 3524-flicker branch December 14, 2023 10:32
mindspank pushed a commit that referenced this pull request Dec 18, 2023
esevastyanov pushed a commit that referenced this pull request Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When sorting a dimension column, the time series graph flickers
2 participants