karol-f / vue-custom-element

Vue Custom Element - Web Components' Custom Elements for Vue.js
https://karol-f.github.io/vue-custom-element/
MIT License
1.97k stars 187 forks source link

Elements can't attach to the DOM or open and close immediately #247

Open zakariamehbi opened 3 years ago

zakariamehbi commented 3 years ago

Hello,

I'm turning a big app into a web components using vue-custom-element and I have some problems with the elements not attaching correctly to the DOM or opening and closing immediately after. One of them is with vue2-daterange-picker (https://innologica.github.io/vue2-daterange-picker), it open and close immediately.

To see what I'm talking about here is a sandbox with a sample : https://codesandbox.io/s/stupefied-mclaren-9v57c?file=/src/main.js

If you have any idea why this is happening it will save me a lot of time, thank you 🙏

zakariamehbi commented 3 years ago

Hello @karol-f any news on your side? We still can't find any solution on our end.