I have the following slider
const Slides = () => {
const data = useStaticQuery(graphql`
query Slider {
allPrismicSlider {
nodes {
data {
slider {
alternative_text
…
I'm having an issue with my react-slick carousel. I'm following official documentation and installation steps but I'm getting this error:
It seems to be a very common error, and I've tried solution which I've found here on stackoverflow - delete…
I was trying to implement React slick's multiple items carousel. The desired result is given below
but I want the center element to pop out a little just like
But I'm able to get this far
I want only three elements visible at a time and center…
I am using react-slick to create a full screen slider, but I am stuck at adding a image in the background.
I am using the following.
import image1 from "../assets/bg1.png"
import image2 from "../assets/audit.png"
import image3 from…
I had created a slider using react slick now there is a requirement to change transition and animation of slides on prev and next button click. Got some help that add class to currently active slide while changing slide and add animation and…
Is there any way to animate the slide height when using adaptiveHeight? For example, when you click 'next' and the next slide is taller, it would smoothly animate to the increased height.
I'm adding a slideshow using react-slick and implementing my own lazy-loading routine so that I can pre-load images a slide ahead (eventually 2 ahead). In order to do this, I need to access the DOM element containing the list of slides wrapped by…
I'm using the react-slick library to make a slider, and I would like to change active slides and the slide which is at the top of the slider. For example, if I click on a button in the current page, I want the current slide at the top of the slider…
I am using react-slick for a carousel and have a requirement to disable swiping and dragging of slides after reaching the last image. I research and tried to set swipe: false on the last slide, which worked to disable swiping. However, when I am on…
I have a couple of components with Slider. In the first component i receive props. But in the second component i don`t receive props.
Below code of my components:
import React, { Component } from "react";
import Slider from "react-slick";
export…
Im using the React slick-slider. I wanted to implement the wheel event so when the user scrolls on the trackpad it would change the current slide. https://stackblitz.com/edit/react-slick-slider-issues I'm using the useRef to make a reference to the…
i am trying to create infinite slideshow without pause
this are my settings for the react-slick slider
const settings = {
infinite: true,
slidesToShow: 3,
autoplay: true,
speed: 5000,
autoplaySpeed: 0,
arrows: false,
slidesToScroll:…