Responsive Breakpoint options

Created on 7 September 2023, 10 months ago
Updated 18 April 2024, 2 months ago

Love this, and SwiperJS, Thank you for this module!

Problem/Motivation

For the lesser coder type of site builder, it would be super cool to add the responsive breakpoints options from https://swiperjs.com/swiper-api#param-breakpoints to the configuration interface.

Proposed resolution

Add a fieldset with fields for breakpoints and number of slides at that breakpoint? Just an idea.

✨ Feature request
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

🇿🇦South Africa stewest Cape Town

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @stewest
  • First commit to issue fork.
  • 🇺🇸United States the_turk

    Mobile breakpoints and gap options have been added in configuration. However for the responsive breakpoints to work, the default value for the number of slides has to be set at the multiple value, when 1 should work correctly and the breakpoints should override that setting. Also, when you go down on screens that are smaller than 540 the default number of slides value takes precedent. Not sure if this is an issue with the twig template or the js implementation.

  • 🇮🇹Italy AppLEaDaY

    @the_turk, what version are you referring to? I've just upgraded to version 2.0.1-beta2 and I still cannot find any way to configure breakpoints with the configuration interface... Thanks!

  • 🇺🇸United States the_turk

    @AppLEaDaY version 1.0.x.

  • Status changed to Closed: duplicate 2 months ago
  • 🇳🇱Netherlands nk_

    This is just released in 2.0.x branch. Please check out this issue: https://www.drupal.org/project/swiper_formatter/issues/3441764 ✨ Breakpoints feature Needs review which shall stay as the only one related to this feature for the time being. Closing as duplicate.

Production build 0.69.0 2024