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
My web page has a problem with same-page links (eg:<a href="#五five">五</a>) when developed with SvelteKit or when using the static files built by SvelteKit.
The issue manifests as follows: When clicking on a link on this page, if the link contains Chinese characters, it will scroll to the specified ID position the first time you click. However, if you manually scroll to another location and then click the same link again, it will not scroll.
This does not happen when the link is in English or numbers, and it also works properly with chinese chars when using other web proxies such as Nginx.
Reproduction
This is a demo, try click-scroll-click every link then u can easily find out the problem.
Describe the bug
My web page has a problem with same-page links (eg:
<a href="#五five">五</a>
) when developed with SvelteKit or when using the static files built by SvelteKit.The issue manifests as follows: When clicking on a link on this page, if the link contains Chinese characters, it will scroll to the specified ID position the first time you click. However, if you manually scroll to another location and then click the same link again, it will not scroll.
This does not happen when the link is in English or numbers, and it also works properly with chinese chars when using other web proxies such as Nginx.
Reproduction
This is a demo, try click-scroll-click every link then u can easily find out the problem.
Logs
No response
System Info
Severity
serious, but I can work around it
Additional Information
No response
The text was updated successfully, but these errors were encountered: