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

Errors in PivotSheet console: GuiIcon SortDown load failed🐛 #2435

Closed
1 of 5 tasks
astragier opened this issue Nov 27, 2023 · 3 comments · Fixed by #2451
Closed
1 of 5 tasks

Errors in PivotSheet console: GuiIcon SortDown load failed🐛 #2435

astragier opened this issue Nov 27, 2023 · 3 comments · Fixed by #2451

Comments

@astragier
Copy link

🏷 Version

Package Version
@antv/s2 1.51.0
@antv/s2-react 1.44.0

Sheet Type

  • PivotSheet
  • TableSheet
  • GridAnalysisSheet
  • StrategySheet
  • EditableSheet

🖋 Description

I use PivotSheet component in my react app with the tree mode and adding buttons.
I have GuiIcon SortDown load failed TypeError: Cannot read properties of undefined (reading 'push') errors in the console for each of the icon present in the pivot sheet.

⌨️ Code Snapshots

see reproduction link

🔗 Reproduce Link

https://codesandbox.io/p/sandbox/solitary-frog-99ckw8?file=%2Fsrc%2FApp.js%3A147%2C1

🤔 Steps to Reproduce

Open sandbox and inspect the console. See errors.

😊 Expected Behavior

No error in the console.

😅 Current Behavior

Error for each of my pivot table icons:

index.js:27 GuiIcon SortDown load failed TypeError: Cannot read properties of undefined (reading 'push')
at Canvas.refreshElement (index.js:10201:21)
at refreshElement (index.js:8585:16)
at ShapeBase.onCanvasChange (index.js:8752:5)
at Container.add (index.js:5108:13)
at Container.addShape (index.js:5023:10)
at eval (index.js:19027:15)

💻 System information

Environment Info
System window 11
Browser chrome: v119.0.6045.160
Copy link
Contributor

你好 @astragier,请编辑你的 issue 标题, 一个言简意赅的 issue 标题可以节省大家的时间, 请不要将标题当做正文, 或者为空。

Hello, @astragier, please edit your issue title. a concise issue title will save everyone time. please do not leave the title as the body or empty.

@astragier astragier changed the title 🐛 Errors in PivotSheet console: GuiIcon SortDown load failed🐛 Nov 27, 2023
@lijinke666
Copy link
Member

🎉 This issue has been resolved in version @antv/s2-v1.53.0-alpha.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member

🎉 This issue has been resolved in version @antv/s2-v1.53.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants