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

[Bug] Select a hidden row and then add a record, the hidden icon is displayed incorrectly #2169

Closed
2 tasks done
oumomomo opened this issue May 7, 2024 · 1 comment · Fixed by #2208
Closed
2 tasks done
Assignees
Labels
bug Something isn't working

Comments

@oumomomo
Copy link

oumomomo commented May 7, 2024

Before you submit this issue, have you checked the following

  • Is this really a problem?
  • I have searched the Github Issues for similar issues, but did not find anything.

Affected packages and versions

dev

Reproduction link

问题1、
操作步骤:
1、隐藏部分记录/列
2、选中隐藏行/列+普通行/列
3、新增记录/列

问题2、
1、隐藏部分行/列
2、选中隐藏行/列+普通行列并删除

Expected behavior

问题1、
隐藏的icon应展示在对应的隐藏位置,点击取消隐藏也不会再展示第二个隐藏icon
问题2、
隐藏行/列被删除后,隐藏icon消失

Actual behavior

问题1、
新增记录后隐藏的icon位置展示有误,取消隐藏后还会有第二个icon
2024_5_7 14_51_02 video.webm
2024_5_7 14_51_02 commands.json

问题2、
隐藏行/列被删除后,隐藏icon未消失
2024_5_7 15_50_25 commands.json
2024_5_7 15_50_25 video.webm

System information

No response

@oumomomo oumomomo added bug Something isn't working scope:row col labels May 7, 2024
@univer-bot
Copy link

univer-bot bot commented May 7, 2024

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿

Origin Title: [Bug] 选中隐藏行再新增记录,隐藏icon展示有误

Title: [Bug] Select a hidden row and then add a record, the hidden icon is displayed incorrectly


Before you submit this issue, have you checked the following

  • Is this really a problem?
  • I have searched the Github Issues for similar issues, but did not find anything.

Affected packages and versions

dev

Reproduction link

Question 1,
Steps:

  1. Hide some records/columns
  2. Select hidden rows/columns + normal rows/columns
  3. Add new records/columns

Question 2.

  1. Hide some rows/columns
  2. Select hidden rows/columns + normal rows and columns and delete them

Expected behavior

Question 1,
The hidden icon should be displayed in the corresponding hidden position. Clicking to unhide will not display the second hidden icon.
Question 2.
After the hidden row/column is deleted, the hidden icon disappears

Actual behavior

Question 1,
The location of the icon hidden after adding a record is displayed incorrectly, and there will be a second icon after unhiding it.
2024_5_7 14_51_02 video.webm
2024_5_7 14_51_02 commands.json

Question 2.
After the hidden row/column is deleted, the hidden icon does not disappear
2024_5_7 15_50_25 commands.json
2024_5_7 15_50_25 video.webm

System information

No response

@univer-bot univer-bot bot changed the title [Bug] 选中隐藏行再新增记录,隐藏icon展示有误 [Bug] Select a hidden row and then add a record, the hidden icon is displayed incorrectly May 7, 2024
@oumomomo oumomomo closed this as completed May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
3 participants