We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
使用了useEffect,graphin画布滚动缩放、鼠标左键按住节点移动,都失效;不使用useEffect,滚动缩放和节点移动都正常。
https://stackblitz.com/edit/stackblitz-starters-eg3h5m?file=src%2FApp.tsx
1.函数组件里使用useEffect,画布滚动缩放、鼠标左键按住节点移动都失效; 2.注释useEffect相关代码,刷新应用,画布滚动缩放、鼠标左键按住节点移动都恢复正常。
在同一函数组件中,使用useEffect等hooks不影响graphin画布的滚动缩放和节点移动
No response
The text was updated successfully, but these errors were encountered:
初步原因已排查到,react渲染模式concurrent切换到legacy,就不会出现该问题
Sorry, something went wrong.
No branches or pull requests
Describe the bug
使用了useEffect,graphin画布滚动缩放、鼠标左键按住节点移动,都失效;不使用useEffect,滚动缩放和节点移动都正常。
Your Example Website or App
https://stackblitz.com/edit/stackblitz-starters-eg3h5m?file=src%2FApp.tsx
Steps to Reproduce the Bug or Issue
1.函数组件里使用useEffect,画布滚动缩放、鼠标左键按住节点移动都失效;
2.注释useEffect相关代码,刷新应用,画布滚动缩放、鼠标左键按住节点移动都恢复正常。
Expected behavior
在同一函数组件中,使用useEffect等hooks不影响graphin画布的滚动缩放和节点移动
Screenshots or Videos
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: