-
-
Notifications
You must be signed in to change notification settings - Fork 485
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
The title in head is blink when change locale #151
Comments
Looks like this is Nuxt page transition issue somewhere |
Just double checked from scratch on blank Nuxt app. This is |
If I set |
@thariddler, is it possible that this issue is in fact caused by kazupon/vue-i18n#408? |
Forgot to mention, to reproduce this issue you need long page transitions .page-enter-active {
opacity: 1;
transition: opacity 1000ms linear;
}
.page-leave-active {
opacity: 1;
transition: opacity 1000ms linear;
}
.page-enter {
opacity: 0;
}
.page-leave-active {
opacity: 0;
} If you have no transition then it's happening instantly and you will not notice the issue. @adi-zz not sure! It could be because |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Have the same issue here :( I just put console.log into head() and it's triggers every few seconds Found why it's working like that. I have dynamic elements which creates time by time and it's causes this inconvenient behaviour |
I have the same issue too. How to prevent it? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Try to disable |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
still have same problem |
Create a new issue with a repo that reproduces. |
@rchl thanks for this reply! I solved this issue by removing title property in head inside nuxt.config.js |
Version
v5.3.0
Reproduction link
https://github.com
Steps to reproduce
I set my
head()
inindex.vue
. The problem is when I change locale or navigate to another route I seetitle
blink.If I remove
nuxt-i18n
or setseo: false
everything ok.What is expected ?
No blink
What is actually happening?
Blink
The text was updated successfully, but these errors were encountered: