Disable slider on mobile screen sizes

Created on 18 May 2024, about 1 month ago

Problem/Motivation

When displaying on mobile devices I would like to disable the slider and just display the slides in a unformatted list, I've seen an example here https://github.com/ganlanyuan/tiny-slider/issues/77#issuecomment-330983980 wondering if this could be useful.

I can see there is a disable flag on the sliders options, but maybe the slider instance should be destroyed and initialised as the browser hits specific break points?

Proposed resolution

Add a flag on the config under the mobile section, that when ticked disables the slider.

Remaining tasks

  1. Investigate how this can be done
  2. write code

User interface changes

Add a new flag in setting in view config

✨ Feature request
Status

Active

Version

1.1

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom darrenwh Bristol

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

Comments & Activities

Production build 0.69.0 2024