We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 813e9a9 commit f034cd9Copy full SHA for f034cd9
1 file changed
packages/router-core/src/router.ts
@@ -2315,21 +2315,21 @@ export class RouterCore<
2315
transition,
2316
...locationChangeInfo,
2317
})
2318
- transition.ready.then(() => {
+ transition.ready.finally(() => {
2319
this.emit({
2320
type: 'onViewTransitionReady',
2321
2322
2323
2324
2325
- transition.updateCallbackDone.then(() => {
+ transition.updateCallbackDone.finally(() => {
2326
2327
type: 'onViewTransitionUpdateCallbackDone',
2328
2329
2330
2331
2332
- transition.finished.then(() => {
+ transition.finished.finally(() => {
2333
2334
type: 'onViewTransitionFinish',
2335
0 commit comments