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 Angular Virtual slides showing blank swiper with no slides #4899

Closed
5 of 6 tasks
maudvd opened this issue Aug 31, 2021 · 1 comment
Closed
5 of 6 tasks

Swiper Angular Virtual slides showing blank swiper with no slides #4899

maudvd opened this issue Aug 31, 2021 · 1 comment
Labels

Comments

@maudvd
Copy link

maudvd commented Aug 31, 2021

Check that this is really a bug

  • I confirm

Reproduction link

https://codesandbox.io/s/ib09c

Bug description

When clicking on the Angular demo link for the Virtual Slides (https://swiperjs.com/demos#virtual-slides) you get only a blank swiper with no slides.

I have tried implementing Virtual Slides in my Angular 12 project but I can't get any slides to show when using Virtual Slides. When removing the virtual part, it works as expected.

Expected Behavior

I expect to find Virtual Slides as described in the docs. The core demo on the demo page (https://swiperjs.com/demos#virtual-slides) works as expected. The Angular demo does not work.

Actual Behavior

When clicking on the Angular demo for Virtual Slides (https://codesandbox.io/s/ib09c) you get a blank swiper with no slides.

Swiper version

7.0.2

Platform/Target and Browser Versions

macOS Big Sur (11.5.2) Google Chrome (92.0.4515.159)

Validations

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
  • Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

  • I'm willing to open a PR
@maudvd maudvd added the Angular label Aug 31, 2021
@maudvd maudvd changed the title Swiper Angular Virtual slides showing blank slides Swiper Angular Virtual slides showing blank swiper with no slides Aug 31, 2021
@maudvd
Copy link
Author

maudvd commented Sep 7, 2021

It seems like the same problem is happening with Vue and React.
The demos for Vue and React show an empty slider as well.
Vue : https://codesandbox.io/s/u7j7g
React : https://codesandbox.io/s/gynpf

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

No branches or pull requests

1 participant