When there is only one slide, previous and next slide button should both be disabled.
We are using dynamic carousel to display search results, with multiple results displayed on each slide. Some queries yield so few search results that they all fit on one slide, and we end up with a single-slide carousel. In that case both buttons should be disabled.
When there is only one slide, previous and next slide button should both be disabled.
We are using dynamic carousel to display search results, with multiple results displayed on each slide. Some queries yield so few search results that they all fit on one slide, and we end up with a single-slide carousel. In that case both buttons should be disabled.