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

Can not take values of breakpoint in react for new swiper element #6779

Closed
5 of 6 tasks
asif-jalil opened this issue Jun 23, 2023 · 1 comment
Closed
5 of 6 tasks
Labels

Comments

@asif-jalil
Copy link

Check that this is really a bug

  • I confirm

Reproduction link

https://codesandbox.io/p/sandbox/sharp-pine-r3s6d5?file=%2Fsrc%2FApp.tsx%3A9%2C1

Bug description

I am trying to use different settings for different breakpoint. But it is throwing an error

TypeError: Cannot use 'in' operator to search for '79' in {0: { slidesPerView: 1 }, 768: { slidesPerView: 2 }, 1420: { slidesPerView: 5 }}

How to solve this?

Expected Behavior

No response

Actual Behavior

No response

Swiper version

9.4.0

Platform/Target and Browser Versions

macOS crome

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

Do you want to ask a question? Are you looking for support? Stack Overflow or Swiper Discussions is the best places for getting support

Please, don't use GitHub issues for questions

Repository owner locked and limited conversation to collaborators Jun 23, 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