BotDanny / react-stacked-center-carousel

A responsive, performant, well animated, swipeable, center mode carousel that stacks its slide
33 stars 12 forks source link

ResizeObserver loop completed with undelivered notifications #24

Open Meghal6217 opened 7 months ago

Meghal6217 commented 7 months ago

Getting Error: ResizeObserver loop completed with undelivered notifications in sentry. It's caused by react-stacked-center-carousel. Below is the code that I have used. Any idea what should be done to remove this error ?

image

<ResponsiveContainer
      carouselRef={ref}
      render={(width, carouselRef) => {
        return (
          <StackedCarousel
            ref={carouselRef}
            slideComponent={CustomSlideCard}
            slideWidth={isMobile ? 160 : isTab ? 260 : 334}
            carouselWidth={width}
            data={[null, null, null, null, null]}
            maxVisibleSlide={maxVisibleSlide}
            disableSwipe
            customScales={isTab ? [1, 0.85, 0.7, 0] : [1, 0.85, 0.7, 0.55]}
            transitionTime={450}
          />
        );
      }}
/>