Skip to content

fix: wait for the redirect navigation before remote form submissions resolve - #16765

Open
Nic-Polumeyv wants to merge 3 commits into
version-3from
form-redirect-await-goto
Open

fix: wait for the redirect navigation before remote form submissions resolve#16765
Nic-Polumeyv wants to merge 3 commits into
version-3from
form-redirect-await-goto

Conversation

@Nic-Polumeyv

Copy link
Copy Markdown
Contributor

closes #16689

submit() now resolves after the redirect navigation, as discussed in the issue. This also keeps pending set until the redirect lands (#15725). External redirects still resolve immediately, since their navigations never settle.

@pkg-svelte-dev

pkg-svelte-dev Bot commented Aug 12, 2026

Copy link
Copy Markdown

Install the latest version of @sveltejs/kit from 453d22b:

pnpm add https://pkg.svelte.dev/@sveltejs/kit/c/453d22b00e96a6b9a7e399eb182c4df65f224c45

Open in pkg.svelte.dev: https://pkg.svelte.dev/repos/kit/pr/16765

@changeset-bot

changeset-bot Bot commented Aug 12, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 453d22b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@sveltejs/kit Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@svelte-docs-bot

Copy link
Copy Markdown

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remote form flashes blank inputs before redirect completes

1 participant