简体   繁体   English

无法输入 tui 图像编辑器

[英]Can't type in tui image editor

I'm integrating tui image editor on my project but I'm facing a problem when I try to type.我正在将 tui 图像编辑器集成到我的项目中,但是当我尝试输入时遇到了问题。 The image editor is inside a modal and I think it has to do something with that but I don't know what.图像编辑器在模态内,我认为它必须对此做些什么,但我不知道是什么。 Everything works fine except when I try to add a text.一切正常,除非我尝试添加文本。

Any ideas?有任何想法吗?

i have tested using react-bootstrap using modal and it works.我已经使用 modal 使用 react-bootstrap 进行了测试,并且可以正常工作。 set enforceFocus to false.将enforceFocus 设置为false。 like the code below像下面的代码

<Modal enforceFocus={false}>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM