element [feature request] when used in shadowdom, many components will have problems, especially components such as pop-up box

h9a6wy2h  于 2023-02-04  发布在  其他
关注(0)|答案(3)|浏览(190)

Existing Component

Component Name

大部分

Description

在shadowDOM中使用会出现很多问题,因为像弹框之类的东西都被放到了document底下了。而自己的dom是与document隔离开的。能否可以手动设置根结点呢?

wmtdaxz3

wmtdaxz31#

Translation of this issue:

Existing Component

yes

Component Name

gross

Description

There are a lot of problems when using in shadow DOM, because things like bullet boxes are put under the document. The DOM is separated from the document. Can I set the root node manually?

von4xj4u

von4xj4u2#

same problem here.
For example, on <el-select> you can use :popper-append-to-body="false" to keep it where it should be, but still gives many errors.
@Amterasu have you found a solution?

2q5ifsrm

2q5ifsrm3#

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.

相关问题