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
手动调用 scrollWIthAnimation 后,若快速 unmount 表格,会导致控制台出现大量报错
在原 react playground 中 修改 onToggleRender 函数
onToggleRender
const onToggleRender = () => { if (s2Ref.current) { s2Ref.current.facet.scrollWithAnimation( { offsetX: { value: 20, }, offsetY: { value: 20, }, }, 200, () => {}, ); } setRender(!render); };
Toggle 渲染组件按钮,就会开始不停报错
组件 unmount 后,可能会因为 spreadsheet 不存在而产生一些报错,但是目前报错无法停止,除非刷新页面
目前报错无法停止,除非刷新页面
The text was updated successfully, but these errors were encountered:
🎉 This issue has been resolved in version @antv/s2-v1.50.0-alpha.1 🎉
The release is available on:
Your semantic-release bot 📦🚀
Sorry, something went wrong.
🎉 This issue has been resolved in version @antv/s2-v1.50.0 🎉
Successfully merging a pull request may close this issue.
🏷 Version
Sheet Type
🖋 Description
手动调用 scrollWIthAnimation 后,若快速 unmount 表格,会导致控制台出现大量报错
⌨️ Code Snapshots
在原 react playground 中 修改
onToggleRender
函数🔗 Reproduce Link
🤔 Steps to Reproduce
Toggle 渲染组件按钮,就会开始不停报错
😊 Expected Behavior
组件 unmount 后,可能会因为 spreadsheet 不存在而产生一些报错,但是目前报错无法停止,除非刷新页面
😅 Current Behavior
目前报错无法停止,除非刷新页面
💻 System information
The text was updated successfully, but these errors were encountered: