nolimits4web / swiper

Most modern mobile touch slider with hardware accelerated transitions
https://swiperjs.com
MIT License
39.13k stars 9.75k forks source link

Add support rem breakpoint #5567

Open ailchenkoDynamo opened 2 years ago

ailchenkoDynamo commented 2 years ago

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

Would you like to open a PR for this feature?

7iomka commented 1 year ago

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 @?

learyjk commented 1 month ago

Also curious if this is possible or in progress.