dream-num / univer

Univer is an open-source productivity tool dev kit helping you integrate spreadsheets, docs and slides into your applications.
https://univer.ai
Apache License 2.0
6.7k stars 581 forks source link

[Bug] Deleting a cell - moving left will cause all cells to the left of this cell to be deleted (moving up has the same problem) #2622

Open qingnianz opened 3 months ago

qingnianz commented 3 months ago

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

受影响的包和版本

0.1.16

复现链接

复现在如下视频中: https://github.com/dream-num/univer/assets/41188824/6049627b-a35e-4421-9370-06d4a9008749

预期行为

复现视频中有其他产品对照效果

实际行为

左移:要删除的单元格左侧的其他单元格全被删除了 上移:要删除的单元格上方的其他单元格全被删除了

运行环境

Chrome

系统信息

System: OS: macOS 14.5 CPU: (10) arm64 Apple M2 Pro Memory: 2.00 GB / 32.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 20.7.0 - /opt/homebrew/bin/node Yarn: 1.22.19 - /opt/homebrew/bin/yarn npm: 10.1.0 - /opt/homebrew/bin/npm pnpm: 8.8.0 - ~/Library/pnpm/pnpm Browsers: Chrome: 126.0.6478.126 Safari: 17.5

univer-bot[bot] commented 3 months ago

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

Origin Title: [Bug] 删除单元格-左移会导致此单元格左侧所有单元格被删除(上移同样存在问题)

Title: [Bug] Deleting a cell - moving left will cause all cells to the left of this cell to be deleted (moving up has the same problem)


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

Affected packages and versions

0.1.16

Recurrence link

Reproduced in the video below: https://github.com/dream-num/univer/assets/41188824/6049627b-a35e-4421-9370-06d4a9008749

Expected behavior

There are comparison effects of other products in the reproduction video

Actual behavior

Move left: All other cells to the left of the cell to be deleted are deleted. Move up: All other cells above the cell to be deleted are deleted.

Running environment

Chrome

system message

System: OS: macOS 14.5 CPU: (10) arm64 Apple M2 Pro Memory: 2.00 GB / 32.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 20.7.0 - /opt/homebrew/bin/node Yarn: 1.22.19 - /opt/homebrew/bin/yarn npm: 10.1.0 - /opt/homebrew/bin/npm pnpm: 8.8.0 - ~/Library/pnpm/pnpm Browsers: Chrome: 126.0.6478.126 Safari: 17.5