vuejs / core

🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
https://vuejs.org/
MIT License
46.59k stars 8.17k forks source link

teleport is not working #2955

Closed leccyril closed 3 years ago

leccyril commented 3 years ago

Version

3.0.5

Reproduction link

https://codesandbox.io/s/blazing-dust-lwkjz?file=/src/components/HelloWorld.vue

Steps to reproduce

click on open , the teleport component is not teleported in #modals div (in index.html)

What is expected?

modal teleported in #modals div

What is actually happening?

modal is displayed in same div than component


i try in my local environment and it is not working too i upgraded with last vuejs3 version, i have router, bootstrap css and when i click on button modal is displayed inside the current element (and in my local envirnment , not display on screen)

HcySunYang commented 3 years ago

Remove the :disabled="true"