-
Notifications
You must be signed in to change notification settings - Fork 199
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
🐛 自定义目录树的tooltip显示和折叠的rowKey有问题 #2455
Comments
问题1, 确实 1.x, 2.x 都有问题. 由于改动影响面较大, 会在 2.x 重构解决, 目前 1.x 临时解决方案可以给同名节点增加空格规避 - title: '节点 A'
+ title: '节点 A '
问题 2, 在 2.0 版本中已修复, 1.x 临时解决方案可以增加格式化 const s2DataConfig = {
fields: {
meta: [
{
field: 'custom-node-1',
name: '节点 A',
},
]
}
} |
你好 @oliver34,该功能或缺陷已经在 如有任何 yarn add @antv/s2@next
yarn add @antv/s2-react@next
yarn add @antv/s2-vue@next Hello, @oliver34, This feature or flaw has been supported or fixed in Any |
fixed #2551 |
🎉 This issue has been resolved in version @antv/s2-v2.0.0-next.13 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This issue has been resolved in version @antv/s2-react-v2.0.0-next.12 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🏷 Version
Sheet Type
✅ PivotSheet
🖋 Description
自定义目录树存在两个问题:
title
一样,那么一个折叠另一个也会折叠,而不是根据key
来的key
,而不是title
具体看截图,下面有codesandbox 链接
⌨️ Code Snapshots
🔗 Reproduce Link
https://codesandbox.io/p/sandbox/old-currying-p3xz89?file=%2Findex.tsx
🤔 Steps to Reproduce
😊 Expected Behavior
希望折叠的根据
key
来做唯一标识,tooltip展示title
😅 Current Behavior
💻 System information
The text was updated successfully, but these errors were encountered: