react-carousel icon indicating copy to clipboard operation
react-carousel copied to clipboard

Expected `event` listener to be a function, instead got `false`.

Open Lagicrus opened this issue 6 years ago • 3 comments

Describe the bug When loading the component, I get 70 errors in rapid succession.

To Reproduce Steps to reproduce the behaviour:

  1. Run dev build (so don't build)
  2. Use this code
<Carousel
          slidesPerPage={2} arrows infinite centered draggable={false}
          arrowLeft={<ArrowBackIosIcon className="mouseOver"/>}
          arrowRight={<ArrowForwardIosIcon className="mouseOver"/>} addArrowClickHandler>
          {this.state.latestPrefabData.map(item => (
            <PrefabCard data={item} key={item.id}/>
          ))}
        </Carousel>
  1. Load page

Expected behaviour No errors

Screenshots If applicable, add screenshots to help explain your problem. image

Environment System: OS: Linux 4.4 Ubuntu 18.04.4 LTS (Bionic Beaver) (WSL) CPU: (12) x64 AMD Ryzen 5 1600 Six-Core Processor Memory: 15.97 GB / 31.95 GB Binaries: Node: 12.16.1 - /usr/bin/node npm: 6.14.4 - npmPackages: @brainhubeu/react-carousel: 1.13.22 => 1.13.22

  • Desktop Windows 10
  • Browser Chrome

Additional context Add any other context about the problem here.

Lagicrus avatar Apr 06 '20 16:04 Lagicrus

Closed as upgrading to .24 seems to have fixed it after a hard reload

Lagicrus avatar Apr 06 '20 18:04 Lagicrus

I am having the same issue. Upgrade to .24 of what?

weignerg avatar Apr 14 '20 16:04 weignerg

@weignerg

I guess [email protected]

piotr-s-brainhub avatar Apr 14 '20 17:04 piotr-s-brainhub