IE:使用tinymce关闭ng2-bootstrap-modal后无法聚焦文本框

时间:2018-10-23 06:34:50

标签: angular tinymce bootstrap-modal

我在IE上有问题。我的项目正在使用Angular 4,"ng2-bootstrap-modal": "^1.0.1""tinymce": "4.6.5" 该对话框具有tinymce编辑器:

<tiny-editor [(ngModel)]="currentVrv.content.mainText"></tiny-editor>
<button class="pull-right" type="button" pButton icon="fa-check" (click)="save()" label="Save"></button>

用户在编辑器中编辑内容,然后单击“保存”以关闭弹出窗口:

DetailDialogComponent extends DialogComponent<any, any> implements OnInit, OnDestroy
save() {
       this.close();
    }

这就是我所说的对话框:

this.dialogService.addDialog(DetailDialogComponent, {
            }).subscribe(() => {
});

问题是我单击关闭Modal后,屏幕上的所有文本框都无法聚焦并失去光标。

enter image description here

你知道会发生什么吗? 谢谢,

0 个答案:

没有答案