Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix preloading stylesheets in view transitions #8707

Merged
merged 3 commits into from
Sep 29, 2023
Merged

Fix preloading stylesheets in view transitions #8707

merged 3 commits into from
Sep 29, 2023

Conversation

martrapp
Copy link
Member

Changes

Over time, the preload code became a noop in virtually all relevant cases.
If the current page had a any stylesheet link, no stylesheets were preloaded.
Fixed selector.

Bug fixing. Deliberately no changeset

Testing

Adaptation of the existing test for testing preloads
Added stylesheet link in Layout to make fixture a bit more realistic

Docs

N/A: bugfix
sorry Sarah

@changeset-bot
Copy link

changeset-bot bot commented Sep 29, 2023

⚠️ No Changeset found

Latest commit: 1ef6f8b

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.

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

@github-actions github-actions bot added the pkg: astro Related to the core `astro` package (scope) label Sep 29, 2023
@martrapp martrapp requested a review from matthewp September 29, 2023 11:24
@martrapp martrapp merged commit 148b5b8 into main Sep 29, 2023
13 checks passed
@martrapp martrapp deleted the mt/preload branch September 29, 2023 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: astro Related to the core `astro` package (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants