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

Page becomes black blank when we do resize #7546

Closed
5 of 6 tasks
EABangalore opened this issue May 18, 2024 · 3 comments
Closed
5 of 6 tasks

Page becomes black blank when we do resize #7546

EABangalore opened this issue May 18, 2024 · 3 comments

Comments

@EABangalore
Copy link

Check that this is really a bug

  • I confirm

Reproduction link

https://codesandbox.io/p/devbox/swiper-virtual-slides-vue-forked-xhngzq?file=%2Fsrc%2FApp.vue%3A2%2C75&workspaceId=2af966e8-e177-47fe-8fe9-219886a4770e

Bug description

My swiper is not working properly upon resize either it show

  1. Black blank screen
  2. Merges next and previous images

Expected Behavior

It should fit the screen upon resize and should not show

  1. Black blank screen
  2. next and previous images merged

Actual Behavior

My swiper is not working properly upon resize either it show

  1. Black blank screen
  2. Merges next and previous images

Swiper version

11.1.3

Platform/Target and Browser Versions

chrome

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
@EABangalore
Copy link
Author

My swiper is not working properly upon resize either it show

  1. Black blank screen
  2. Merges next and previous images

My swiper version : "swiper": "^11.1.3",

Here what i'm facing

simplescreenrecorder-2024-05-18_06 38 47-ezgif com-video-to-gif-converter

Here is my codesandbox : https://codesandbox.io/p/devbox/swiper-virtual-slides-vue-forked-xhngzq?file=%2Fsrc%2FApp.vue%3A2%2C75&workspaceId=2af966e8-e177-47fe-8fe9-219886a4770e

Even i have asked question on stackoverflow : https://stackoverflow.com/questions/78498438/why-on-resize-of-swiper-container-either-swiper-container-becomes-blank-black-or

@EABangalore
Copy link
Author

Anyone please provide me any hint

@nolimits4web
Copy link
Owner

Your example doesn't illustrate the issue, it is more like an implementation question rather than Swiper's issue

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

No branches or pull requests

2 participants