Skip to content

URL won't get decoded, leading in not scrolling to & expanding the corresponding section #939

Open

Description

@m-glass

1. Problem

I'm using rapidoc in vue just like:

<rapi-doc
    render-style="view"
    update-route="true"
    route-prefix="&operation="
  >
...

Now, when calling the page with a operation query param (e.g. domain.tld/page?operation=get-/entity), it scrolls to the GET entity section and expands it. However, if I provide the url-encoded query param domain.tld/page?operation=get-%2Fentity, it does nothing (scrolling to section and expanding it doesn't work anymore).

2. Expected behavior

Rapidoc considers varying url formats and can decode encoded url strings so that scrollto and expand operations still work.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions