Skip to content

Commit 5a34052

Browse files
fix(view-transition): rename qwik-router-spa to qwik-navigation
1 parent 030bf10 commit 5a34052

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/docs/src/routes/docs/cookbook/view-transition/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ export default component$(() => {
165165
});
166166
```
167167

168-
When listening on the `qviewTransition` we know that
168+
When listening on the `qviewtransition` we know that
169169

170170
> **Note**: For it to work correctly, we need to **remove the default view transition** animation else it happens on top of the `.animate()`. I'm using `view-transition-class` which is only working with Chrome right now.
171171

packages/qwik-router/src/runtime/src/qwik-router-component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ export const QwikRouterProvider = component$<QwikRouterProps>((props) => {
130130
useStyles$(`
131131
@layer qwik {
132132
@supports selector(html:active-view-transition-type(type)) {
133-
html:active-view-transition-type(qwik-router-spa) {
133+
html:active-view-transition-type(qwik-navigation) {
134134
:root{view-transition-name:none}
135135
}
136136
}

0 commit comments

Comments
 (0)