Skip to content

Commit

Permalink
Drawer: fix append to body (#21264)
Browse files Browse the repository at this point in the history
  • Loading branch information
cs1707 committed Aug 26, 2021
1 parent cd44289 commit f71afe0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/drawer/src/main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,9 @@ export default {
if (this.visible) {
this.rendered = true;
this.open();
if (this.appendToBody) {
document.body.appendChild(this.$el);
}
}
},
destroyed() {
Expand Down

0 comments on commit f71afe0

Please sign in to comment.