Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

unmounted hook of directive on teleport's child is called twice. #3497

Closed
07akioni opened this issue Mar 28, 2021 · 1 comment · Fixed by #3499
Closed

unmounted hook of directive on teleport's child is called twice. #3497

07akioni opened this issue Mar 28, 2021 · 1 comment · Fixed by #3499
Labels
🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. 🐞 bug Something isn't working

Comments

@07akioni
Copy link
Contributor

Version

3.0.9

Reproduction link

https://codesandbox.io/s/divine-sun-jk15p?file=/src/main.js

image

Steps to reproduce

Follow the link.

What is expected?

unmounted hook is called once.

What is actually happening?

It is called twice.


The bug is introduced since v3.0.8

@holtwick
Copy link

Please bump this up, it is a showstopper for i18n and <teleport> use, see intlify/vue-i18n#412

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. 🐞 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants