Skip to content

fix: don't crash on interactions inside a form whose controls shadow nodeName - #16769

Open
Nic-Polumeyv wants to merge 1 commit into
sveltejs:version-3from
Nic-Polumeyv:fix-15419-find-anchor-clobber
Open

fix: don't crash on interactions inside a form whose controls shadow nodeName#16769
Nic-Polumeyv wants to merge 1 commit into
sveltejs:version-3from
Nic-Polumeyv:fix-15419-find-anchor-clobber

Conversation

@Nic-Polumeyv

Copy link
Copy Markdown
Contributor

Fixes #15419

Named form controls shadow DOM properties on their form, so form.nodeName can be an input element rather than a string. Same class as #7593, #8467 and #16138.

@pkg-svelte-dev

Copy link
Copy Markdown

Install the latest version of @sveltejs/kit from 601d052:

pnpm add https://pkg.svelte.dev/@sveltejs/kit/c/601d05221fe05d77c9173bcc8218a621aa3eb491

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

Note

This PR is from a fork. A maintainer must approve approve each commit before it can be built and installed.

@changeset-bot

changeset-bot Bot commented Aug 12, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 601d052

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.

Form elements with nodeName as id breaks preloading

1 participant