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] Hyperlink Button Disabled After Exiting Cell Edit Mode #4866

Closed
2 tasks done
catssay opened this issue Mar 21, 2025 · 0 comments · Fixed by #4872
Closed
2 tasks done

[Bug] Hyperlink Button Disabled After Exiting Cell Edit Mode #4866

catssay opened this issue Mar 21, 2025 · 0 comments · Fixed by #4872
Assignees
Labels
bug Something isn't working

Comments

@catssay
Copy link

catssay commented Mar 21, 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.6

Reproduction link

After exiting a cell's edit mode, the Hyperlink button on the toolbar remains disabled. This issue only occurs when the Hyperlink button is visible on the toolbar. If the button is hidden due to a narrower window width, the problem does not occur.

Steps to Reproduce

  1. Open the following reproduction link:
    [Univer Sheets Reproduction](https://stackblitz.com/edit/univer-sheets-vite-9wd9pxav?file=src%2Fmain.ts)
  2. Ensure the window is wide enough for the Hyperlink button to be visible on the toolbar.
  3. Double-click a cell to enter edit mode.
  4. Click another cell to exit edit mode.
  5. Observe that the Hyperlink button remains disabled.
Image

Expected behavior

The Hyperlink button should be enabled after exiting cell edit mode if a valid selection is made.

Actual behavior

The Hyperlink button remains disabled after exiting cell edit mode if a valid selection is made.

System information

 System:
    OS: macOS 15.3.2
    CPU: (12) arm64 Apple M3 Pro
    Memory: 188.09 MB / 36.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.18.2 - ~/.nvm/versions/node/v18.18.2/bin/node
    Yarn: 1.22.22 - ~/Library/pnpm/yarn
    npm: 9.8.1 - ~/.nvm/versions/node/v18.18.2/bin/npm
    pnpm: 9.8.0 - ~/.nvm/versions/node/v18.18.2/bin/pnpm
    bun: 1.2.5 - ~/.bun/bin/bun
  Browsers:
    Safari: 18.3.1
@univer-bot univer-bot bot added the bug Something isn't working label Mar 21, 2025
@jikkai jikkai marked this as a duplicate of #4870 Mar 25, 2025
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