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

Error after resizing window #6553

Closed
5 of 6 tasks
danielbigler opened this issue Apr 3, 2023 · 2 comments
Closed
5 of 6 tasks

Error after resizing window #6553

danielbigler opened this issue Apr 3, 2023 · 2 comments
Labels

Comments

@danielbigler
Copy link

Check that this is really a bug

  • I confirm

Reproduction link

https://codesandbox.io/s/eager-meadow-jb96oy

Bug description

After resizing the window from desktop to mobile, the swiper library throws an error with the following message:

Cannot read properties of undefined (reading 'split')

This seems to happen in the navigation module according to the stacktrace. This might be a general problem and not just related to React, but I´m not 100% sure about this.

image

Expected Behavior

No response

Actual Behavior

No response

Swiper version

9.1.1

Platform/Target and Browser Versions

Chrome 111.0.5563.147

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
@nolimits4web
Copy link
Owner

I can not see such error on the demo you provided

@nolimits4web
Copy link
Owner

Closing due to inactivity and/or no responses from issue author

Repository owner locked and limited conversation to collaborators Apr 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants