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

🐛 Cleans teleported clone #4328

Merged
merged 2 commits into from
Aug 13, 2024
Merged

Conversation

ekwoka
Copy link
Contributor

@ekwoka ekwoka commented Aug 2, 2024

As a follow-up to #4300

When x-teleport was nested inside x-if, the use of mutateDom was preventing x-teleport clones from being cleaned up.

This just applies the same fix to immediately clean up the x-teleport clone.

Thanks @mgschoen for finding this regression.

@calebporzio
Copy link
Collaborator

Thanks!

@calebporzio calebporzio reopened this Aug 13, 2024
@calebporzio calebporzio merged commit ab743bc into alpinejs:main Aug 13, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants