-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
View Transitions: do not animate same page navigation, but animate ha…
…sh links to different pages (#8013) * Links with hash marks are now supported if they lead to a different page * treat links to same page equally, independent of hash or not * Links to the same page do not trigger view transitions * special treatment for trailing hash * view transitions: simpler rule to exclude in-page links
- Loading branch information
Showing
2 changed files
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'astro': patch | ||
--- | ||
|
||
Links with hash marks now trigger view transitions if they lead to a different page. Links to the same page do not trigger view transitions. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters