Skip to content

Query params do not change on mobile safari browser #19

@tybur3

Description

@tybur3

Describe the bug

When I use createUseQueryParams I cannot update the params on the mobile safari browser. Instead, I get an error in the console

Avoid using `history.pushState(...)` and `history.replaceState(...)` as these will conflict with SvelteKit’s router. Use the `pushState` and `replaceState` imports from `$app/navigation` instead.

Reproduction

Import createUseQueryParams and create parameters, then bind the selected parameter with the button. when clicked, no action will be triggered

System Info

iOS Safari 16.7.8

svelte 5.19.0

svelte-query-params: ^0.2.5

Used Package Manager

npm

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions