Skip to content
Discussion options

You must be logged in to vote

This might well be related to smooth-navigation - I'm not fully aware of that library, but I think my answer is related. I've had issues exactly like this when I've had transition kicking around in components. What happens, of course, is that when the container block is destroyed, rather than disappearing, the transition plays out, and then the element isn't later swapped out. With my own components using transition, the answer has always been to scope the transition locally - transition|local. This means that the navigation doesn't trigger a transition, and the swap-out of the DOM content works correctly.

So: this explains what's going on, but doesn't offer a way to solve it with the des…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by joshuavachon25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants