Skip to content

Conversation

zonemeen
Copy link
Collaborator

@zonemeen zonemeen commented Mar 6, 2024

Two problems were discovered when the site was configured with i18n.

langs-hash-bug

  1. The first problem was reproduced according to the procedure in the moving image above. The page hash value should end up as an empty string.

  2. The second problem was similar, in the search box, when clicking on a search item with a hash value, I jumped to the corresponding location, and then switched languages, and found that the corresponding language jump address did not have a hash value.

@zonemeen zonemeen changed the title fix: page changes reset the hash when with i18n fix(i18n): page changes reset the hash when with i18n Mar 6, 2024
@zonemeen zonemeen added the bug label Mar 6, 2024
@brc-dd brc-dd changed the title fix(i18n): page changes reset the hash when with i18n fix(router): hashchange not emitted in certain cases Mar 6, 2024
@brc-dd brc-dd merged commit 6b971a0 into vuejs:main Mar 6, 2024
brc-dd added a commit that referenced this pull request Mar 6, 2024
@zonemeen zonemeen deleted the fix/i18n-with-hash branch March 6, 2024 23:04
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants