-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Closed
Labels
Description
Check that this is really a bug
- I confirm
Reproduction link
Bug description
The param breakpointsBase was introduced quite recently and was added to React/Vue libraries in 10.3.0 with these commits:
0eb4122
6800dbb
However the Vue commit adds an emit value when it should have added a prop.
A prop breakpoints: { type: String, default: undefined }, should have been added at line 53.
Without this prop, setting breakpointsBase="container" on the Swiper component does nothing (breakpoints still rely on window width).
Expected Behavior
The swiper breakpoints should rely on container width
Actual Behavior
The swiper breakpoints rely on window width
Swiper version
11.1.4
Platform/Target and Browser Versions
macOS Chrome 126
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