Skip to content

Commit 38142a6

Browse files
farfromrefugNathanWalker
authored andcommitted
fix(core): navigatingToEvent allows access to resolvedPage now (#9954)
BREAKING CHANGE: When using `navigatingToEvent` event.entry, the `backstackEntry` object is now returned which has an `entry` property on it if you still need it.
1 parent f49e412 commit 38142a6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/core/ui/frame/frame-common.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -427,8 +427,8 @@ export class FrameBase extends CustomLayoutView {
427427
eventName: Page.navigatingToEvent,
428428
object: this,
429429
isBack,
430-
entry: backstackEntry.entry,
431-
fromEntry: this.currentEntry,
430+
entry: backstackEntry,
431+
fromEntry: this._currentEntry,
432432
});
433433
}
434434

0 commit comments

Comments
 (0)