Skip to content

chore: move scroll restoration and focus reset out of client.js - #16980

Draft
Nic-Polumeyv wants to merge 1 commit into
version-3from
client-focus-module
Draft

chore: move scroll restoration and focus reset out of client.js#16980
Nic-Polumeyv wants to merge 1 commit into
version-3from
client-focus-module

Conversation

@Nic-Polumeyv

@Nic-Polumeyv Nic-Polumeyv commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Scroll restoration and focus reset live in client.js but read none of its state. This moves them, unchanged, into their own module, the shape snapshots.js took in #16685.

@pkg-svelte-dev

pkg-svelte-dev Bot commented Aug 31, 2026

Copy link
Copy Markdown

Install the latest version of @sveltejs/kit from 2b735ad:

pnpm add https://pkg.svelte.dev/@sveltejs/kit/c/2b735adaac8d17821fccef482a97f1c91c61b1dd

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

@changeset-bot

changeset-bot Bot commented Aug 31, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 2b735ad

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a 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.

1 participant