Skip to content

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

Merged
Rich-Harris merged 1 commit into
sveltejs:version-3from
Nic-Polumeyv:fix-15419-find-anchor-clobber
Aug 13, 2026
Merged

fix: don't crash on interactions inside a form whose controls shadow nodeName#16769
Rich-Harris merged 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

@Rich-Harris Rich-Harris left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

absurd platform

@Rich-Harris
Rich-Harris merged commit 4682127 into sveltejs:version-3 Aug 13, 2026
23 of 24 checks passed
@Nic-Polumeyv
Nic-Polumeyv deleted the fix-15419-find-anchor-clobber branch August 13, 2026 21:06
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

2 participants