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: scrollNode demo crash #4965

Merged
merged 1 commit into from
Sep 20, 2023

Conversation

Arichy
Copy link
Contributor

@Arichy Arichy commented Sep 14, 2023

Checklist
  • npm test passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
  1. npm test failed on the latest master due to tests/unit/shape/combo-collapsed-pos-spec.ts.
  2. The site doesn't have any existing tests, so I cannot add test case for the fix.
Description of change

In the demo page https://g6.antv.antgroup.com/en/examples/item/customNode#scrollNode, it will crash after you drag the node.
image

This pr fixed it.

@Arichy
Copy link
Contributor Author

Arichy commented Sep 14, 2023

@Yanyan-Wang Could you pls take a look? thx

@Yanyan-Wang
Copy link
Contributor

Thank you for your PR!

@Yanyan-Wang Yanyan-Wang merged commit abca3c0 into antvis:master Sep 20, 2023
4 checks passed
@Yanyan-Wang
Copy link
Contributor

Merged. The site will be updated ASAP.

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