Skip to content

can't jump to encoded character hash #212

Closed
@mcdoyaji

Description

I clicked [sidebar](./options#사이드바) hash link.

but, url link encoded.

sidebar

so I Got result below.

×
Unhandled Rejection (SyntaxError): Failed to execute 'querySelector' on 'Document': '#%EC%82%AC%EC%9D%B4%EB%93%9C%EB%B0%94' is not a valid selector.
VueComponent.jumpToHash

so, I edit jumpToHash() to get Decoded string.

    jumpToHash() {
      const {hash} = decodeURI(this.$route)
      if (hash) {

now, no more '9C%EB%B0%94' is not a valid selector. but still It's not jump to hash position.

I think that jump.js can't recognize hash position.

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions