Change state when childrens rendered.

master
Hasan Genc 5 years ago
parent d47ad1e99b
commit 5a52d517a4
  1. 2
      src/components/scrolling-carousel/index.tsx

@ -44,7 +44,7 @@ export const ScrollingCarousel: FunctionComponent<SliderProps> = ({
node.addEventListener('scroll', onScroll);
}
},
[slider],
[slider, children],
);
const mouseDown = (e: MouseEvent) => {

Loading…
Cancel
Save