sveltejs / site-kit

MIT License
196 stars 63 forks source link

Fix scrollbar to draggable #299

Open adgitate1 opened 4 weeks ago

adgitate1 commented 4 weeks ago

Fixes #276 and sveltejs/kit#12423.

The commit that added height:100%; https://github.com/sveltejs/site-kit/commit/7b607787bb3ece4b72ebab7529f80184aafe2a58#diff-646c4a4d8d44a37b1082a9dcec99774de9b88f93945e7843d4b0e9e606a24de0R88 fixed https://github.com/sveltejs/kit/issues/10292 and in my testing the browser still correctly scrolls back to correct position when pressing the back button after my commit.

Related: There was a past scrollbar issue sveltejs/svelte#5325 that was fixed by removing height:100%; from the main tag https://github.com/sveltejs/svelte/pull/5342/commits/a1af1e529898fe5e5a7ebd8cd25cc17ee3b84178 (before it was moved to a separate repo/component in https://github.com/sveltejs/svelte/commit/bad1780d487406d543bc30ef586e9c069e33d133#diff-81aa9fa32da25a5a82688cc86ff1689b70824846d2eeaac912d6cdb6059fb054L62 ).

changeset-bot[bot] commented 4 weeks ago

⚠️ No Changeset found

Latest commit: b41d8a9a1a1ec37a8ff2b3ece5c20b3226b7ca7a

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