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] Right-click and report an error when clicking to add a comment #4838

Open
2 tasks done
18860852449 opened this issue Mar 15, 2025 · 1 comment
Open
2 tasks done
Assignees
Labels
backlog We are not actively seeing into this. bug Something isn't working

Comments

@18860852449
Copy link

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

  • 这真的是个问题吗?
  • 我已经在 Github Issues 中搜索过了,但没有找到类似的问题。

受影响的包和版本

0.6.5

复现链接

univer-demo.zip
复现demo已上传,复现步骤如下:
1、设置镜像 npm config set registry https://registry.npmmirror.com
2、安装依赖 npm install
3、运行项目 npm run dev
4、鼠标右击点击添加评论的时候,浏览器控制台报错

预期行为

期望:控制台不报错

实际行为

实际:鼠标右击点击添加评论的时候,浏览器控制台报错 An empty string ("") was passed to the src attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to src instead of an empty string.



运行环境

Chrome

系统信息

System:
OS: Windows 11 10.0.22621
CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
Memory: 2.98 GB / 15.88 GB
Binaries:
Node: 16.20.2 - D:\develop\env\nodejs\node.EXE
npm: 8.19.4 - D:\develop\env\nodejs\npm.CMD
Browsers:
Edge: Chromium (102.0.1245.30)
Internet Explorer: 11.0.22621.1

@univer-bot univer-bot bot added the bug Something isn't working label Mar 15, 2025
@univer-bot univer-bot bot changed the title [Bug] 鼠标右击,点击添加评论的时候报错 [Bug] Right-click and report an error when clicking to add a comment Mar 15, 2025
@univer-bot
Copy link

univer-bot bot commented Mar 15, 2025

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

Origin Title: [Bug] 鼠标右击,点击添加评论的时候报错

Title: [Bug] Right-click and report an error when clicking to add a comment


Have you checked the following before you submitted this question?

  • Is this really a problem?
  • I've searched in Github Issues but found no similar questions.

Affected packages and versions

0.6.5

Reproduce link

univer-demo.zip
The reproduction demo has been uploaded, and the reproduction steps are as follows:

  1. Set mirror npm config set registry https://registry.npmmirror.com
  2. Installation dependency npm install
  3. Run the project npm run dev
  4. When you right-click and click to add a comment, the browser console reports an error

Expected behavior

Expectation: The console does not report an error

Actual behavior

Actual: When you right-click to click to add a comment, the browser console reported an error. An empty string ("") was passed to the src attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to src instead of an empty string.



Running environment

Chrome

System Information

System:
OS: Windows 11 10.0.22621
CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
Memory: 2.98 GB / 15.88 GB
Binaries:
Node: 16.20.2 - D:\develop\env\nodejs\node.EXE
npm: 8.19.4 - D:\develop\env\nodejs\npm.CMD
Browsers:
Edge: Chromium (102.0.1245.30)
Internet Explorer: 11.0.22621.1

@jikkai jikkai self-assigned this Mar 17, 2025
@jikkai jikkai added the backlog We are not actively seeing into this. label Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog We are not actively seeing into this. bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants