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

React环境下 输入内容后立即点击工具栏下拉无反应 #1408

Closed
zyzcss opened this issue May 24, 2023 · 3 comments
Closed

React环境下 输入内容后立即点击工具栏下拉无反应 #1408

zyzcss opened this issue May 24, 2023 · 3 comments

Comments

@zyzcss
Copy link

zyzcss commented May 24, 2023

编辑模式

  • wysiwyg 所见即所得模式
  • ir 即时渲染模式
  • sv 分屏编辑预览模式

描述问题

上次提了一个issues:
#1391
我拉源码后运行发现工具栏正常,但是在react环境下仍会出现该问题(已确认版本为最新的3.9.3)
react demo 预览:
https://zyzcss.github.io/vditor/index.html
react demo 源码:
https://github.com/zyzcss/vditor-demo

期待的结果

在react环境下工具栏正常

截屏或录像

Peek 2023-04-28 17-29

版本信息

  • 版本:3.9.3
  • 操作系统:
  • 浏览器:

其他信息

@zyzcss
Copy link
Author

zyzcss commented May 25, 2023

打包后太难debug了,试了几次没找到问题所在,只能提issue了

@Vanessa219
Copy link
Owner

可以拉源码进行调试,目前我也没有办法进行定位。

@zyzcss
Copy link
Author

zyzcss commented May 25, 2023

@Vanessa219 发现问题了,与react环境无关,mode设置为wysiwyg时没问题,mode不填或者设置为sv或者ir的时候会出现这种情况

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants