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

[Bug Report] The el-drawer component append-to-body attribute does not work #16827

Closed
ihhu opened this issue Jul 31, 2019 · 2 comments · Fixed by #16953
Closed

[Bug Report] The el-drawer component append-to-body attribute does not work #16827

ihhu opened this issue Jul 31, 2019 · 2 comments · Fixed by #16953

Comments

@ihhu
Copy link

ihhu commented Jul 31, 2019

Element UI version

2.11.1

OS/Browsers version

window10,chrome 70

Vue version

2.6.10

Reproduction Link

https://jsfiddle.net/_ihhu/31mkqvLe/4

Steps to reproduce

1.visible绑定的dialog值初始化设置为 true;

2.设置属性 el-drawer组件append-to-body属性值 或者 modal-append-to-body属性值 值为true;

3.el-drawer组件渲染并没有插入至 body 元素上;

What is Expected?

el-drawer组件能渲染至 body 元素上

What is actually happening?

el-drawer组件渲染并没有插入至 body 元素上

@element-bot element-bot changed the title [Bug Report] The el-drawer component append-to-body attribute do not work [Bug Report] The el-drawer component append-to-body attribute does not work Jul 31, 2019
@element-bot
Copy link
Member

Translation of this issue:

Element UI version

2.11.1

OS/Browsers version

Windows 10, chrome 70

Vue version

2.6.10

Reproduction Link

Https://jsfiddle.net/_ihhu/31mkqvLe/4

Steps to reproduce

  1. The dialog value of visible binding is initialized to true;

  2. Set the append-to-body attribute value of the attribute el-drawer component or modal-append-to-body attribute value to be true;

  3. el-drawer component rendering is not inserted into the body element;

What is Expected?

El-drawer components can be rendered to body elements

What is actually happening?

El-drawer component rendering is not inserted into the body element

@jw-foss
Copy link
Contributor

jw-foss commented Aug 8, 2019

#16953
You can find PR here

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

Successfully merging a pull request may close this issue.

4 participants