react-splide
react-splide copied to clipboard
Overflow event is not supported
Checks
- [X] Not a duplicate.
- [X] Not a question, feature request, or anything other than a bug report directly related to React Splide. Use Discussions for these topics: https://github.com/Splidejs/splide/discussions
Version
0.7.12
Description
Splide starting from 4.1.0 has support for an overflow event (more info) but react-splide doesn't seem to have been updated to support it as one of its event props on the <Splide /> component.
Reproduction Link
No response
Steps to Reproduce
- Try to use
onOverflowas a prop of<Splide />
Expected Behaviour
There should not be a Typescrit error and the event should add the proper handler.