-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
fix(nuxt): delete nuxtApp._runningTransition onResolve #33025
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
Conversation
|
@nuxt/kit
nuxt
@nuxt/rspack-builder
@nuxt/schema
@nuxt/vite-builder
@nuxt/webpack-builder
commit: |
CodSpeed Performance ReportMerging #33025 will not alter performanceComparing Summary
|
would you be able to add a runtime/unit regression test for this? (we have some scrollBehavior transition tests you can use as an example) |
Okay, I pushed the test code. |
Thank you! ❤️ Would you mind updating your branch? I did some work on that test file in 5d78366. |
d16d3fd
to
1eca7bd
Compare
I was a bit confused if you wanted me to update the entire file with your code, so I've gone ahead and done that for now. |
@kyumoon the test file was renamed and updated, and an issue I hadn't spotted is that this PR was made against
|
cc97e0d
to
e5467f8
Compare
I've changed the target branch to main and added the test code. |
Warning Rate limit exceeded@danielroe has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 26 minutes and 53 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (2)
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you!
check this please |
🔗 Linked issue
resolves #33024
📚 Description
This PR fixes an issue where nuxtApp._runningTransition was not being reset when navigating between a page with a transition and one without under specific conditions. For more details, please refer to the linked issue.
To resolve this, I've added code to the onResolve hook to properly clear the nuxtApp._runningTransition flag.