Disable prev/next arrows when only one image

Created on 21 February 2022, almost 3 years ago
Updated 25 August 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

Fixed

Version

2.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 8 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?

  • 🇳🇬Nigeria chike Nigeria

    This is still an issue with the latest 2.x releases.

  • 🇮🇩Indonesia gausarts

    Thank you

    Still an issue with 2.x DEV also?

  • 🇳🇬Nigeria chike Nigeria

    Both with 2.0.9 and 2.0.x-dev is-less is not existent both in the main stage and the navigation slide. is-less is not found anywhere.

  • Status changed to Fixed 3 months ago
  • 🇮🇩Indonesia gausarts

    Might be related to this regression issue:
    🐛 Arrows not working within optionsets Fixed

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024