-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
TypeError : Cannot read properties of undefined (reading 'speed') #7416
TypeError : Cannot read properties of undefined (reading 'speed') #7416
Comments
t0ggles-create swiper |
Task nolimits4web/SWIPER-80 was created |
@nolimits4web Hi, do you need more information ? |
Did you try to pass second argument of speed.In my case, it solved the issue |
Hi, we didn't use .slideTo method but we use autoplay options. Our website use Next.js and we change with next router (change page without refresh) |
Task nolimits4web/SWIPER-80 status changed to Done |
@nolimits4web |
Check that this is really a bug
Reproduction link
Bug description
Hi,
We use swiper in our project and we occasionally found the error from error monitoring tools (datadog).
The error is come form /swiper/esm/components/core/slide/slideNext.js (see attached files).
We try to reproduced the bug but cant. We used to have the same bug in other parts of our code and we solve this with
speed = this?.params?.speed
In this case, Is it possible to create pull requests for fixed this one.
Our project used
nextjs (v.12.2)
swiper (v.6.8.4)
Expected Behavior
Should not show error in any browser.
Actual Behavior
Error shown up in some error. (We found from monitoring tool)
Swiper version
6.8.4
Platform/Target and Browser Versions
macOS/Chrome
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: