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

隐藏功能相同项会出现隐藏尖头不见了🐛 #1344

Closed
xiaoxiao992 opened this issue May 17, 2022 · 5 comments
Closed

隐藏功能相同项会出现隐藏尖头不见了🐛 #1344

xiaoxiao992 opened this issue May 17, 2022 · 5 comments
Labels
⛔ invalid issue 什么描述都没写

Comments

@xiaoxiao992
Copy link

xiaoxiao992 commented May 17, 2022

🏷 Version

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

🖋 Description

用了表格默认的隐藏功能,发现隐藏后会出现隐藏收起的箭头不见了

⌨️ Code Snapshots

🔗 Reproduce Link

🤔 Steps to Reproduce

import { SheetComponent } from '@antv/s2-react'
<SheetComponent
dataCfg={chartData}
options={options}
themeCfg={{
theme: {
dataCell: {
text: {
textAlign: 'center',
textBaseline: 'middle',
},
bolderText: {
textAlign: 'center',
textBaseline: 'middle',
}
},
colCell: {
text: {
textAlign: 'center',
},
bolderText: {
textAlign: 'center',
}
},
background: {
color: '#fafafa'
},
},
name: 'gray'
}}
adaptive={{
width: true,
height: true,
getContainer: () => parentRef?.current || document.body // 或者使用 document.getElementById(containerId)
}}
sheetType="table"
onRangeSorted={onRangeSort}
getSpreadSheet={getSpreadSheet}
/>

😊 Expected Behavior

希望选中了隐藏的列之后,回显的小箭头还在
截屏2022-05-17 下午11 50 57

😅 Current Behavior

截屏2022-05-17 下午11 50 04

💻 System information

@lijinke666 lijinke666 added ⛔ invalid issue 什么描述都没写 👀 need more info Issue/pr 描述太少, 没有可用信息 and removed ⛔ invalid issue 什么描述都没写 👀 need more info Issue/pr 描述太少, 没有可用信息 labels May 17, 2022
@github-actions
Copy link
Contributor

你好 @xiaoxiao992,请按照 issue 模板填写相关信息 (参考 #852 #848), 方便大家高效沟通。

Hello @xiaoxiao992, please fill in the relevant information according to the issue template to facilitate communication efficiently (refer #852 #848). Thanks so much!

@xiaoxiao992
Copy link
Author

https://s2.antv.vision/zh/examples/case/kpi-strategy#basic
截屏2022-05-18 下午2 29 02
你们zi自己的例子也这样的呢,一直点击隐藏,就出现这样回不来的问题了

@xiaoxiao992
Copy link
Author

xiaoxiao992 commented May 18, 2022

截屏2022-05-18 下午2 30 41
操作后
截屏2022-05-18 下午2 31 08

操作前

@lijinke666
Copy link
Member

使用的什么版本?

@xiaoxiao992
Copy link
Author

我本地 "@antv/s2": "^1.16.0",
"@antv/s2-react": "^1.15.0", 然后你们官网是什么版本我不确定

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⛔ invalid issue 什么描述都没写
Projects
None yet
Development

No branches or pull requests

2 participants