revert changes to render modal into portal
This commit is contained in:
parent
d69b8794b0
commit
95ad5ccaf1
2 changed files with 9 additions and 14 deletions
|
@ -120,10 +120,7 @@
|
||||||
<MobilePostStatusButton />
|
<MobilePostStatusButton />
|
||||||
<UserReportingModal />
|
<UserReportingModal />
|
||||||
<PostStatusModal />
|
<PostStatusModal />
|
||||||
<portal-target
|
<portal-target name="modal" />
|
||||||
name="modal"
|
|
||||||
multiple
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
<template>
|
<template>
|
||||||
<portal to="modal">
|
|
||||||
<div
|
<div
|
||||||
v-show="isOpen"
|
v-show="isOpen"
|
||||||
v-body-scroll-lock="isOpen"
|
v-body-scroll-lock="isOpen"
|
||||||
|
@ -8,7 +7,6 @@
|
||||||
>
|
>
|
||||||
<slot />
|
<slot />
|
||||||
</div>
|
</div>
|
||||||
</portal>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script src="./modal.js"></script>
|
<script src="./modal.js"></script>
|
||||||
|
|
Loading…
Reference in a new issue