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] Double-clicking a cell cannot enter the editing state #4822

Open
2 tasks done
335060087 opened this issue Mar 12, 2025 · 6 comments
Open
2 tasks done

[Bug] Double-clicking a cell cannot enter the editing state #4822

335060087 opened this issue Mar 12, 2025 · 6 comments

Comments

@335060087
Copy link

335060087 commented Mar 12, 2025

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

0.6.4

Reproduction link

https://stackblitz.com/edit/github-c8mvnmuy?file=src%2Fcomponents%2FUniverSheet_1.vue

20250312_175140.mp4

Expected behavior

When there are many sheets:

bug1: Double-click a blank cell to enter the edit state

bug2: Click on the cell, after the left mouse button is released, instead of selecting the zone state

Actual behavior

When there are many sheets:

bug1: Double-clicking a blank cell does not enter the editing state

bug2: Click on the cell, and after the left mouse button is released, it should not select the region state
bug3: The formula is not loaded (lost) when the page is loaded for the first time, and the formula appears after the page is refreshed again

System information

No response

@univer-bot univer-bot bot added the bug Something isn't working label Mar 12, 2025
@jikkai
Copy link
Member

jikkai commented Mar 12, 2025

Based on your description, everything seems to be working as expected, and I don't see anything that can be considered a bug. If possible, please provide more detailed reproduction steps. If describing in English is difficult for you, feel free to use Chinese instead.

@jikkai jikkai added need more info and removed bug Something isn't working labels Mar 12, 2025
@335060087
Copy link
Author

在视屏中所有的操作的都是点击单个单元格,1.点击单个单元格松开鼠标应该不是选择区域状态,现在松开鼠标是选择区域状态2.点击双击空白单元格(单元格没有值)很多时候都无法进入编辑状态。3.onMounted首次挂载页面公式丢失(偶发现象)。所有操作可在复现链接中复现,多次切换,sheet页签会复现

@univer-bot
Copy link

univer-bot bot commented Mar 12, 2025

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

All operations in the video are clicking on a single cell. 1. Clicking on a single cell to release the mouse should not be the selection area state. Now release the mouse is to select the area state. 2. Clicking on double-clicking on a blank cell (the cell has no value) often cannot enter the editing state. 3. The formula for the first time mount page is lost (occasional phenomenon). All operations can be reproduced in the reproduction link, switched multiple times, and the sheet tab will be reproduced.

@jikkai
Copy link
Member

jikkai commented Mar 12, 2025

  1. We were unable to reproduce the issue shown in your video using the provided reproduction link. You may try testing on different platforms or conducting additional attempts. We hope you can provide more detailed information.
  2. Your double-click position is too close to the cell border, which triggers the move action instead of cell editing. This is the expected behavior 🤓
  3. Unable to reproduce the issue. Please provide a minimum reproduction or detailed steps.

@335060087
Copy link
Author

335060087 commented Mar 12, 2025

https://stackblitz.com/edit/github-c8mvnmuy?file=src%2Fcomponents%2FUniverSheet.vue 这个复现连接比较明显您看一下,A1单元格加了单元格渲染,也出现这种情况,并且控制台也报错了,报错信息和上面视频中的报错是相同的,

Image

@univer-bot
Copy link

univer-bot bot commented Mar 12, 2025

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

https://stackblitz.com/edit/github-c8mvnmuy?file=src%2Fcomponents%2FUniverSheet.vue This reproduction connection is more obvious. You can take a look. Cell A1 has been rendered with cell rendering, and this situation also occurs, and the console also reports an error. The error message is the same as the error in the video above.

Image

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

No branches or pull requests

2 participants