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

SWIPER breaks on angular :LEAVE router animation #4506

Closed
ThierryStaar opened this issue Apr 30, 2021 · 2 comments
Closed

SWIPER breaks on angular :LEAVE router animation #4506

ThierryStaar opened this issue Apr 30, 2021 · 2 comments

Comments

@ThierryStaar
Copy link

  • Swiper Version: v6.5.8
  • Platform/Target and Browser Versions: ANGULAR 11

What You Did

Import and put a swiper in an angular component and initialised it.

Expected Behavior

When a route change, a :LEAVE animation and an :ENTER animation is triggered through the router module and angular/animations

The component containing the swiper should execute the animation in both cases.

Actual Behavior

Case 1 : ENTER => no problem, the animation plays while the swiper is initialised.
Case 2 : LEAVE => the swiper is resetted and destroyed as soon as the leaving animation starts, but the animation is well played by its container, the component.

@nolimits4web
Copy link
Owner

Where is the link to StackBlitz, CodeSandbox, live demo?

@nolimits4web
Copy link
Owner

Duplicate #4443

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants