ElemeFE / element

A Vue.js 2.0 UI Toolkit for Web
https://element.eleme.io/
MIT License
54.1k stars 14.64k forks source link

[feature request] about $confirm specifies the DOM element #19828

Open herro-it opened 4 years ago

herro-it commented 4 years ago

Existing Component

Component Name

confirm

Description

场景:在vue项目中,通过iframe嵌入页面,在iframe中使用$confirm弹出提示。 遇到以下问题:1、遮罩帘不是全局遮挡;2、弹框不居中;

请问$confirm如何解决以上问题?$confirm是否支持渲染在指定dom上?

element-bot commented 4 years ago

Translation of this issue:

Existing Component

yes

Component Name

confirm

Description

Scenario: in Vue project, embed the page through iframe, and use $confirm to pop up prompt in iframe.

The following problems are encountered: 1. The mask curtain is not global occlusion; 2. The pop-up frame is not centered; How does $confirm solve the above problems? Does $confirm support rendering on the specified DOM?

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.