Multiple event listeners doesn't work
wbern opened this issue · comments
William Bernting commented
Hey, thanks for all the good work!
It seems you can't subscribe to onSlideChanged in multiple locations, which is something I could have a use for in my application when determining whether to show arrow buttons on the sides of the cards (depending on if we're at the end or not of the slideset).
Here's a repro:
https://codesandbox.io/s/multiple-event-listeners-7lzhf7?file=/src/App.tsx