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] The column width on the menu uses the value that was set last time #4637

Open
2 tasks done
EricYang1017 opened this issue Feb 13, 2025 · 1 comment · May be fixed by #4579
Open
2 tasks done

[Bug] The column width on the menu uses the value that was set last time #4637

EricYang1017 opened this issue Feb 13, 2025 · 1 comment · May be fixed by #4579
Assignees
Labels
bug Something isn't working

Comments

@EricYang1017
Copy link

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.5.4

Reproduction link

你可以在官方示例(https://univer.ai/zh-CN/features/sheets-basic)上复现,选中其中一整列,然后在列头上右键菜单点击设置列宽,之后在别的与该列列宽不相同的列上通过菜单设置列宽会使用第一次设置的值

Expected behavior

菜单上显示的是多少列宽,单击菜单就设置为多少列宽

Actual behavior

即使显示的是该列本来的列宽,但是点击会将该列设置为上次单击菜单时的显示的列宽

System information

No response

@univer-bot univer-bot bot added the bug Something isn't working label Feb 13, 2025
@univer-bot
Copy link

univer-bot bot commented Feb 13, 2025

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

Origin Title: [Bug] The column width on the menu uses the value that was set last time

Title: [Bug] The column width on the menu uses the value that was set last time


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.5.4

Reproduction link

You can reproduce it on the official example (https://univer.ai/zh-CN/features/sheets-basic), select one of the columns, and then right-click the menu on the column header to click Set column width, and then in other The column width is set by menu on a column with different column widths. The value set for the first time will be used.

Expected behavior

The column width is displayed on the menu, click the menu to set the column width

Actual behavior

Even if the column is originally column width displayed, clicking will set the column to the column width displayed when the menu was last clicked.

System information

No response

@lumixraku lumixraku self-assigned this Feb 13, 2025
@lumixraku lumixraku linked a pull request Feb 13, 2025 that will close this issue
4 tasks
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
Development

Successfully merging a pull request may close this issue.

2 participants