Skip to content

Query Params ignored for isCurrent #479

Open
@SimonChaumet

Description

Bug

When using query params (search params) the query is ignored when taken from location but it's not when using the "to" parameter, so isCurrent will never be true when using query params. I think this is the corresponding code.

I know that it might be a problem for the specifications but I think a consistent logic would be to ignore the query params from the "to" parameter.

See CodeSandbox

I may provide a pull request if the specification is good for you

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