We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://codesandbox.io/s/qw04s?file=/src/main.ts
When I have nested vertical slides, everything works OK, but the nested slides also show up (double) in the parent slides.
`<swiper #outerSwiper direction="horizontal"> <ng-template swiperSlide> <mat-card> <!-- additional content --> </mat-card> </ng-template> <ng-template swiperSlide> <mat-card> <!-- additional content --> </mat-card> </ng-template> <ng-template swiperSlide *ngFor="let slide of slides$ | async"> <swiper #innerSwiper direction="vertical"> <ng-container *ngFor="let innerSlide of slide.innerSlides> <ng-template swiperSlide> <mat-card class="papers stacks"> <!-- additional content --> </mat-card> </ng-template> </ng-container> </swiper> </ng-template> </swiper>`
When I get rid of all ng logic, I have the same problem which is why I was considering this a bug in Swiper.
<swiper direction="horizontal"> <ng-template swiperSlide> test 1 </ng-template> <ng-template swiperSlide> test 2 </ng-template> <ng-template swiperSlide> <swiper direction="vertical"> <ng-template swiperSlide> test vertical 1 </ng-template> <ng-template swiperSlide> test vertical 2 </ng-template> </swiper> </ng-template> </swiper>
Nested vertical slides should not also appear in the parent horizontal slides.
Nested vertical slides are showing up both in the nested Swiper and the parent Swiper.
6.7.1
Chrome
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Check that this is really a bug
Reproduction link
https://codesandbox.io/s/qw04s?file=/src/main.ts
Bug description
When I have nested vertical slides, everything works OK, but the nested slides also show up (double) in the parent slides.
When I get rid of all ng logic, I have the same problem which is why I was considering this a bug in Swiper.
Expected Behavior
Nested vertical slides should not also appear in the parent horizontal slides.
Actual Behavior
Nested vertical slides are showing up both in the nested Swiper and the parent Swiper.
Swiper version
6.7.1
Platform/Target and Browser Versions
Chrome
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: