Skip to content

bug(CodeEditor): 代码编辑器弹窗中显示异常问题 #3185

@HongFei-Ye

Description

@HongFei-Ye

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

CodeEditor 组件代码无法显示代码:CodeEditor 是放在一个组件里面,然后再页面里面使用弹窗弹出这个包含CodeEditor 的组件。
在我的项目里面首次点击弹窗能够显示出来,关闭弹窗后再次弹窗显示的时候就显示异常了,需要按下F12才能显示代码出来。

我做了一个复现示例:请查看zip文件与视频,这个复现示例里面,不知道为什么连首次弹窗代码区域也显示异常,需要按下F12才能显示代码出来。

Expected Behavior

正常显示代码内容,不需要按下F12也能够显示出来。

Steps To Reproduce

复现代码:
BlazorApp1.zip

复现视频:

QQ2024329-23321.mp4

Exceptions (if any)

No response

.NET Version

8.0

Anything else?

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions