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

Runtime Error when i use Grid and Virtual module at same time #7127

Open
5 of 6 tasks
Nicolas-Her opened this issue Oct 22, 2023 · 4 comments
Open
5 of 6 tasks

Runtime Error when i use Grid and Virtual module at same time #7127

Nicolas-Her opened this issue Oct 22, 2023 · 4 comments
Labels

Comments

@Nicolas-Her
Copy link

Check that this is really a bug

  • I confirm

Reproduction link

https://codesandbox.io/s/swiper-react-virtual-slides-forked-8hjch5?file=/src/App.jsx

Bug description

Hi,
when i try to have Virtual and Grid module it raise an error below the trace :

Unhandled Runtime Error
TypeError: Cannot set properties of undefined (setting 'row')

Source
Object.updateSlide
node_modules/swiper/modules/grid.mjs (80:0)
Swiper.updateSlides
node_modules/swiper/shared/swiper-core.mjs (469:0)
Swiper.init
node_modules/swiper/shared/swiper-core.mjs (3510:0)
new Swiper
node_modules/swiper/shared/swiper-core.mjs (3211:0)

Expected Behavior

i can have Grid module with virtual slides

Actual Behavior

App crash with blank screen

Swiper version

10.3.1

Platform/Target and Browser Versions

macOs chrome 117.0.5938.149

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
@joseph118
Copy link

joseph118 commented Nov 20, 2023

@pexch
Copy link

pexch commented Feb 4, 2024

Bump, still facing this issue since last year

@repagtor
Copy link

repagtor commented Oct 30, 2024

Does anyone have solution? I'm still facing this issue @nolimits4web

@levipadre
Copy link

Does anyone have a solution?

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

5 participants