Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Unable to teleport to multiple locations #1

Open
jwoertink opened this issue Oct 26, 2021 · 1 comment
Open

Unable to teleport to multiple locations #1

jwoertink opened this issue Oct 26, 2021 · 1 comment

Comments

@jwoertink
Copy link

I wanted to use a class selector so I can insert a single component in to multiple locations. It looks like the main Vue teleport supports this.

I assume it's because this uses querySelector instead of querySelectorAll

this.parent = document.querySelector(this.to);

@Mechazawa
Copy link
Owner

I started working on fixing this but sadly never finished it.
https://github.com/Mechazawa/vue2-teleport/tree/fix/multi_target

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants