Closed AmirRezaM75 closed 3 years ago
I don't know why but my modal renders outside of my vue root element (#app). every functionality woks fine.
Here is my setup: app.js
Vue.use(VueJSModal, { dynamicDefaults: { height: "auto", adaptive: true } });
How I call it:
this.$modal.show(ReplyModal,{}, { name: "create-reply"});
ReplyModal.vue
<template> <div class="v--modal-box v--modal conversation-modal"> // my content </div> </template> <script> export default { name: "ReplyModal", props: ['reply'], //reset of code
"vue-js-modal": "^2.0.0-rc.6",
Is there any misconfiguration?
I wasn't declare <modals-container/> in my master page
<modals-container/>
@AmirRezaM75 How did you added to the master page (layout). We are using laravel and it is creating second vue app for us in the dev tools. Thanks
Problem:
I don't know why but my modal renders outside of my vue root element (#app). every functionality woks fine.
Code:
Here is my setup: app.js
How I call it:
ReplyModal.vue
Version:
"vue-js-modal": "^2.0.0-rc.6",
screenshots:
Is there any misconfiguration?