From 709b75198d4e7051c7e1d310379bfeddad5c411f Mon Sep 17 00:00:00 2001 From: Henry Jameson <me@hjkos.com> Date: Sun, 25 Apr 2021 13:45:47 +0300 Subject: [PATCH] fix portals/teleports --- src/App.vue | 2 +- src/components/moderation_tools/moderation_tools.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/App.vue b/src/App.vue index 1a1667788..702b69d1e 100644 --- a/src/App.vue +++ b/src/App.vue @@ -58,7 +58,7 @@ <UserReportingModal /> <PostStatusModal /> <SettingsModal /> - <portal-target name="modal" /> + <div id="modal"/> <GlobalNoticeList /> </div> </template> diff --git a/src/components/moderation_tools/moderation_tools.vue b/src/components/moderation_tools/moderation_tools.vue index c4c6ee462..bd7e6448e 100644 --- a/src/components/moderation_tools/moderation_tools.vue +++ b/src/components/moderation_tools/moderation_tools.vue @@ -131,7 +131,7 @@ <FAIcon icon="chevron-down" /> </button> </Popover> - <portal to="modal"> + <teleport to="#modal"> <DialogModal v-if="showDeleteUserDialog" :on-cancel="deleteUserDialog.bind(this, false)" @@ -155,7 +155,7 @@ </button> </template> </DialogModal> - </portal> + </teleport> </div> </template> -- GitLab