WIP: Some issues in nestable slider element (fade type)

Browser: Chrome 130.0.6723.117
OS: Windows

Hi bricks team,

1- If we set Items to show to 2 or more and then enable the fade mode, the slider will be broken.

2- If the fade mode is active, there will be problems if the Direction option is already set. Maybe it is more logical that if we choose the fade mode, the Direction control will be hidden. Because it has no use for fade mode.

3- If the fade mode is active and the Spacing option has a value, after scrolling the slider, the Spacing value will be added to the slider border. As in the previous case, it would be much better to hide the Spacing control if the fade mode is active.

Thank you!

Hi Hosein,

  1. That’s right and not a bug: Options - Splide
    The “type” setting comes at the beginning of the settings for a reason: if you select “Fade” first, the items per page setting will be hidden, which shows that the setting is not necessary.


However, it would certainly be helpful to display a notice to prevent bug reports like this one :slight_smile:

  1. We submitted a bug report on this ages ago: Vertical slider with fade only shows first slide · Issue #1095 · Splidejs/splide · GitHub
    However, as you rightly say, the direction makes no sense if the type is “fade”.

  2. That’s right. I’d be better to hide the spacing setting, too.

So overall: No bugs, but two improvements :wink:

Best regards,
timmse

1 Like

Hi and Thank you for reviewing these issues timmse🙏