swiper
swiper copied to clipboard
Add support rem breakpoint
Clear and concise description of the problem
can not suppor rem breakpoint
Suggested solution
add suppor rem breakpoint to src/core/breakpoints/getBreakpoint.js
Alternative
No response
Additional context
No response
Validations
- [X] Follow our Code of Conduct
- [X] Read the docs.
- [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Would you like to open a PR for this feature?
- [X] I'm willing to open a PR
Any news on this?
Some popular UI libraries like mantine
now requires breakpoints config in em
, and if the user wants to use swiper, the configuration in pixels will diverge in behaviour on the site. Why just to not check internally if value of breakpoint is string and if not starts with @
?
Also curious if this is possible or in progress.