You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while the transition is happening click a link to /page-one
enter function won't trigger leaving you with opacity 0
Fix: could be worth locking transition function if page is during transition (maybe add a transition stage?).
I've solved it by tracking if theres an ongoing transition and adding "pointer-events: none" to highest dom element (could worth mentioning in docs if you don't feel like locking navigation during transition is a route you'd like to take.
The text was updated successfully, but these errors were encountered:
Hi @Valithor, I'll need to explore a bit more to find the best solution. For now, it's good that you found an alternative to solve the problem. Ideally, I would like to resolve it; it might take a bit more time, but I will revisit it in the next few weeks for a timing issue.
If during transition you click on a Link to referer route your stage will get locked on 'leaving' state.
To reproduce:
I used this transition animation, but i made it async and lazy loaded gsap https://github.com/ismamz/next-transition-router?tab=readme-ov-file#minimal-example-using-gsap
Fix: could be worth locking transition function if page is during transition (maybe add a transition stage?).
I've solved it by tracking if theres an ongoing transition and adding "pointer-events: none" to highest dom element (could worth mentioning in docs if you don't feel like locking navigation during transition is a route you'd like to take.
The text was updated successfully, but these errors were encountered: