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

Carousel not refreshing on page navigation with different parameters #2900

Closed
smichelotti opened this issue Dec 4, 2018 · 0 comments
Closed

Comments

@smichelotti
Copy link

Bug description:

Steps to reproduce:

  1. Navigate to StackBlitz provided below. Click to navigate to 2nd slide of first page. Observe this works fine.
  2. Click the hyperlink on the top to Navigate to Page 2. Observe that carousel images to do not change.
  3. Now move the mouse into the carousel. Notice the images will now change to the correct ones for Page 2 once mouse enter happens.

Other notes:

  1. This only happens when you're navigating to the same page but with different route params.
  2. If you're navigating to truly distinct views, then this issue does not occur.

Link to minimally-working StackBlitz that reproduces the issue:

StackBlitz sample that reproduces issue: https://stackblitz.com/edit/carousel-bug-with-nav

Versions of Angular, ng-bootstrap and Bootstrap:

Angular: 7.0.0

ng-bootstrap: 4.0.0

Bootstrap:

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