Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
pedroborges committed Sep 19, 2024
1 parent 740c3b2 commit e1d478a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/src/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,7 @@ export class Router {
replace ? this.replaceState(page) : this.pushState(page)
this.swapComponent({ component, page, preserveState }).then(() => {
preserveScroll ? this.restoreScrollPositions() : this.resetScrollPositions()

if (!replace) {
fireNavigateEvent(page)
}
Expand Down

0 comments on commit e1d478a

Please sign in to comment.