-
-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Checks
- Not a duplicate.
- 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
When using a custom transition, as described here: https://splidejs.com/guides/transition/#transition-component and here https://splidejs.com/integration/react-splide/#transition, I get the error
react-dom.development.js:94 Warning: Invalid value for prop `transition` on <div> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior
at div
at Splide2 (http://localhost:6006/vendors-node_modules_babel_runtime_helpers_esm_asyncToGenerator_js-node_modules_babel_runtime-9e4a3f.iframe.bundle.js:4863:5)
Reproduction Link
https://codesandbox.io/p/devbox/restless-feather-s5yr2t?file=%2Fsrc%2FApp.tsx%3A55%2C33
Steps to Reproduce
- Use a custom transition
- Check console for error
Expected Behaviour
No error message
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working