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 multiple rows, right-click on the header of the row and select Delete selected row, but it is not deleted correctly. #3994

Open
2 tasks done
semmywong opened this issue Nov 7, 2024 · 2 comments
Assignees
Labels
feature request New feature or request

Comments

@semmywong
Copy link
Contributor

在您提交此问题之前,您是否检查了以下内容?

  • 这真的是个问题吗?
  • 我已经在 Github Issues 中搜索过了,但没有找到类似的问题。

受影响的包和版本

v0.4.1

复现链接

https://univer.ai/examples/sheets

预期行为

选中多行,在行头部点击右键选择删除选中行,可以正确的删除选中的所有行

实际行为

1、选中第2、3行,
2、按住ctrl键,再选中第5行
3、在行头部点击右键,选择“删除选择中”
结果:
没有正确删除所有选中行,只删除了第5行,第2、3行没有被删除
演示步骤:
241107 163650

运行环境

No response

系统信息

No response

@semmywong semmywong added the bug Something isn't working label Nov 7, 2024
@univer-bot univer-bot bot changed the title [Bug] 选中多行,在行头部点击右键选择删除选中行,没有正确删除 [Bug] Select multiple rows, right-click on the header of the row and select Delete selected row, but it is not deleted correctly. Nov 7, 2024
@univer-bot
Copy link

univer-bot bot commented Nov 7, 2024

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

Origin Title: [Bug] 选中多行,在行头部点击右键选择删除选中行,没有正确删除

Title: [Bug] Select multiple rows, right-click on the header of the row and select Delete selected row, but it is not deleted correctly.


Before you submitted this question, did you check the following?

  • Is this really a problem?
  • I've searched Github Issues but haven't found any similar issues.

Affected packages and versions

v0.4.1

Recurrence link

https://univer.ai/examples/sheets

Expected behavior

Select multiple rows, right-click on the row header and select Delete Selected Rows to correctly delete all selected rows.

Actual behavior

  1. Select rows 2 and 3.
  2. Hold down the ctrl key and select line 5
  3. Right-click on the row header and select "Delete Selected"
    result:
    All selected rows were not deleted correctly, only row 5 was deleted, rows 2 and 3 were not deleted.
    Demonstration steps:
    241107 163650

Running environment

No response

System information

No response

@wzhudev wzhudev self-assigned this Nov 14, 2024
@wzhudev wzhudev added feature request New feature or request and removed bug Something isn't working labels Dec 24, 2024
@wzhudev wzhudev assigned Dushusir and unassigned wzhudev Dec 24, 2024
@wzhudev
Copy link
Member

wzhudev commented Dec 24, 2024

cc @Dushusir Please take a look into this. We should support removing discontinuous rows and columns.

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

No branches or pull requests

3 participants