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] CodeEditor渲染有问题 会出现重影 #200

Open
qychen2001 opened this issue Aug 23, 2024 · 5 comments
Open

[Bug] CodeEditor渲染有问题 会出现重影 #200

qychen2001 opened this issue Aug 23, 2024 · 5 comments
Labels
🐛 Bug Something isn't working | 缺陷 Inactive No response in 30 days | 超过 30 天未活跃

Comments

@qychen2001
Copy link

💻 系统环境 | Operating System

Ubuntu

🌐 浏览器 | Browser

Edge

🐛 问题描述 | Bug Description

当我使用CodeEditor时候,发现当选中部分内容时候会出现重影

image

同时,行也是不对齐的

我的代码就是官方文档的示例,我并没有额外做修改

🚦 期望结果 | Expected Behavior

期待可以尽快解决这个问题!

📷 复现步骤 | Recurrence Steps

官网的示例当中也存在这个问题,可以查看:这里

当选中一些内容时,会存在重影
image

而且行也是不对齐的
image

📝 补充信息 | Additional Information

No response

@qychen2001 qychen2001 added the 🐛 Bug Something isn't working | 缺陷 label Aug 23, 2024
@lobehubbot
Copy link
Member

👀 @qychen2001
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@lobehubbot lobehubbot added the Inactive No response in 30 days | 超过 30 天未活跃 label Oct 1, 2024
@Wxh16144
Copy link
Collaborator

我用 vite 快速启动了一个项目,并没有复现🤔

image

@Wxh16144
Copy link
Collaborator

官网确实有这个问题,可能是某个组件导致的?

@qychen2001
Copy link
Author

我用 vite 快速启动了一个项目,并没有复现🤔

image

我又尝试了一下,还是可以复现的。我只是把官网的demo复制到App.tsx中,可以出现这个问题。

@zhenyu-02
Copy link

我也发现了官网的问题,选中内容后会有重影。而且选中后的文字会变大
image

@arvinxx arvinxx mentioned this issue Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working | 缺陷 Inactive No response in 30 days | 超过 30 天未活跃
Projects
None yet
Development

No branches or pull requests

4 participants