Closed Reverier-Xu closed 1 month ago
When using Unicode characters such as Chinese or Japanese as the id of the title, the anchor tag cannot trigger a page jump, ascii characters work well.
https://stackblitz.com/edit/solidjs-templates-exqpxd?file=src%2FApp.tsx
你好世界
Hello World
僕はダメなんだ
All the anchors should make the page scrolling to the corresponding heading.
No response
there are two event listeners on the anchor tag, delete them could makes the functionality works as expected.
Any response here?
Thank you!
Describe the bug
When using Unicode characters such as Chinese or Japanese as the id of the title, the anchor tag cannot trigger a page jump, ascii characters work well.
Your Example Website or App
https://stackblitz.com/edit/solidjs-templates-exqpxd?file=src%2FApp.tsx
Steps to Reproduce the Bug or Issue
你好世界
heading anchor in the page;Hello World
heading anchor in the page;僕はダメなんだ
heading anchor in the page;Expected behavior
All the anchors should make the page scrolling to the corresponding heading.
Screenshots or Videos
No response
Platform
Additional context
there are two event listeners on the anchor tag, delete them could makes the functionality works as expected.