Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/router transition labels #1300

Merged
merged 7 commits into from
Jun 11, 2024
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/components/base/b-router/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ Changelog
> - :house: [Internal]
> - :nail_care: [Polish]

## v4.0.0-beta.102 (2024-06-11)

#### :bug: Bug Fix
kobezzza marked this conversation as resolved.
Show resolved Hide resolved

* Removed the use of `$a.promise` in the `execute` method of the `Transition` class. This previously caused only
the last `replace` method call to be executed when multiple calls were made.

## v4.0.0-beta.97 (2024-05-21)

#### :bug: Bug Fix
Expand Down
3 changes: 2 additions & 1 deletion src/components/base/b-router/modules/transition/class.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ export default class Transition {
this.initNewRouteInfo();

this.scroll.createSnapshot();
await $a.promise(this.scroll.updateCurrentRouteScroll(), transitionLabel);
// FIXME: removing of $a.promise is a temporaty fix of https://github.com/V4Fire/Client/issues/1301
await this.scroll.updateCurrentRouteScroll();

// We didn't find any route matching the given ref
if (this.newRouteInfo == null) {
Expand Down
Loading