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

fix(morph): currentNode can also be null, not just undefined, fixes #3728 #3729

Merged
merged 1 commit into from Aug 28, 2023

Conversation

levu42
Copy link
Contributor

@levu42 levu42 commented Aug 25, 2023

No description provided.

@joshhanley
Copy link
Collaborator

@levu42 thanks for the PR! Any chance you could add a test for this? Thanks!

@levu42
Copy link
Contributor Author

levu42 commented Aug 26, 2023

@joshhanley not easily, since, as I described in #3728 I can't reproduce it in a minimal test case. I have it happen in a bigger Livewire project, but my tries to make a minimal test case weren't successful so far.

@joshhanley
Copy link
Collaborator

@levu42 yeah I just tried too, and couldn't replicate it using morph alone outside of a Livewire context.

@calebporzio calebporzio merged commit b0b66d0 into alpinejs:main Aug 28, 2023
1 check passed
@calebporzio
Copy link
Collaborator

Thanks!

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.

None yet

3 participants