Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid value for prop transition on <div> tag. #79

Open
2 tasks done
HenriPodolski opened this issue Feb 15, 2024 · 0 comments
Open
2 tasks done

Invalid value for prop transition on <div> tag. #79

HenriPodolski opened this issue Feb 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@HenriPodolski
Copy link

HenriPodolski commented Feb 15, 2024

Checks

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

  1. Use a custom transition
  2. Check console for error

Expected Behaviour

No error message

@HenriPodolski HenriPodolski added the bug Something isn't working label Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant