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

fix(line): make copy of points data before reversing #1963

Merged
merged 1 commit into from
May 10, 2022

Conversation

benurb
Copy link
Contributor

@benurb benurb commented Mar 30, 2022

Hello 👋

this is a fix for basically a very similar problem to #1644. If enablePoints is set to true the order of the points in any custom layer changes between the first and any subsequent render, because the points array is modified in place.

Best,
Ben

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit bf28663:

Sandbox Source
nivo Configuration

@plouc
Copy link
Owner

plouc commented May 10, 2022

Good catch, thank you for the fix!

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.

2 participants