react-insta-stories icon indicating copy to clipboard operation
react-insta-stories copied to clipboard

First/Last slide callback events with keyboard events

Open KoalaMontana opened this issue 3 years ago • 0 comments

Hi! I ran into the fact that there are very few actions for the first and last slide, if the user presses the arrows on the keyboard - in the current implementation, the slide is paused. I want to add an action in such cases, for example, to go to the next / previous Stories (Stories of another user, similarly by Instagram), or to close Stories. "onAllStoriesEnd" prop only trigger in autoplay mode, but is ignored if you press the arrows on your keyboard.

KoalaMontana avatar Jan 10 '22 08:01 KoalaMontana