Disable prev/next arrows when only one image

Created on 21 February 2022, over 2 years ago
Updated 31 March 2024, 3 months ago

I have a slider that works beautifully, though I would like the option to hide the previous/next arrows when there is only one image for the slider.

It already automatically hides the thumbnail nav, but the arrows still show. Let me know if you'd like a screenshot.

💬 Support request
Status

Postponed: needs info

Version

1.0

Component

Code

Created by

🇺🇸United States W01F

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇳🇬Nigeria chike Nigeria

    I am using X Grid for 'Optionset main' and X Splide nav for 'Optionset nav' and when there is one image, is-less class is added on the navigation slide and none added on the main slide. If slider type is set to 'Loop' on any of the slides the arrows show up. If slider type is set to 'Slide' on the navigation slide, the arrows are hidden and if slider type is set to 'Slide' on the main slide the right arrow shows up.

    Summary: is-less is only added on the navigation slide (in my case) and only hides the arrows with slider type set to 'Slide' or 'Fade' and does not hide the arrow when slider type is set to 'Loop', when slide has only one image. is-less is never added on the main slide and the arrows stay visible.

    Unfortunately I am not able to make a patch.

    Thanks.

  • Status changed to Postponed: needs info 3 months ago
  • 🇮🇩Indonesia gausarts

    We are not going to support 1.x any longer. Please upgrade to 2.x.

    Is this still an issue with the latest 2.x releases?

Production build 0.69.0 2024