dream-num / univer

Univer is an open-source alternative to Google Sheets, Slides, and Docs
https://univer.ai
Apache License 2.0
5.75k stars 476 forks source link

[Bug] When react 17 version uses @univerjs/sheets-hyper-link-ui, the hyperlink cannot be displayed when the content area is suspended. #2668

Closed 840251442 closed 5 days ago

840251442 commented 5 days ago

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

受影响的包和版本

0.1.16

复现链接

以官方demo 为例子当我为18的时候就可以悬浮上去 并且可以跳转超链接功能, 当我为17的时候悬浮会失去效果。

预期行为

可以正常跳转超链接

实际行为

超链接的悬浮框没有出来

运行环境

Chrome

系统信息

No response

univer-bot[bot] commented 5 days ago

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

Origin Title: [Bug] react 17版本使用@univerjs/sheets-hyper-link-ui 悬浮内容区的时候超链接展示不出来

Title: [Bug] When react 17 version uses @univerjs/sheets-hyper-link-ui, the hyperlink cannot be displayed when the content area is suspended.


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

Affected packages and versions

0.1.16

Recurrence link

Taking the official demo as an example, when I was 18, I could float it up and jump to the hyperlink function. When I am 17, the levitation will lose its effect.

Expected behavior

Hyperlinks can be redirected normally

Actual behavior

The floating box of the hyperlink does not appear

Running environment

Chrome

system message

No response

jikkai commented 5 days ago

Please provide a minimal reproducible demo or link for the issue.

We will close this issue for now, but feel free to reopen it once you have provided the necessary information.

840251442 commented 3 days ago

link.zip 我把这个demo压缩了 你可以用pnpm 启动看一下 react版本 17.0.2

univer-bot[bot] commented 3 days ago

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

link.zip I compressed this demo. You can use pnpm to start it and take a look at react version 17.0.2.

840251442 commented 3 days ago

@jikkai

840251442 commented 3 days ago

还有个问题 保护行列的菜单 为什么不能设置hidden

univer-bot[bot] commented 3 days ago

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

There is another question: Why can’t hidden be set for the menu to protect rows and columns?