question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

React does not recognize the `motionProps` prop on a DOM element.

See original GitHub issue

Description

Problem occurred every time I open the drawer.

Link to Reproduction

https://codesandbox.io/s/black-leftpad-f5lo5b?file=/src/App.js

Steps to reproduce

No response

Chakra UI Version

2.3.4

Browser

Microsoft Edge

Operating System

  • macOS
  • Windows
  • Linux

Additional Information

Warning: React does not recognize the motionProps prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase motionprops instead. If you accidentally passed it from a parent component, remove it from the DOM element.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:12
  • Comments:22 (1 by maintainers)

github_iconTop GitHub Comments

9reactions
segunadebayocommented, Oct 13, 2022

Good catch, @martinezleoml. The issue was that the transition package was not released properly. That’s my bad.

I’ve now added it to the next release. It should work as expected afterward

2reactions
driktherealcommented, Oct 17, 2022

I updated to @chakra-ui/react@2.3.6 and the error is gone. Thank you guys!

Read more comments on GitHub >

github_iconTop Results From Across the Web

React does not recognize the X prop on a DOM element ...
[Error] Warning: React does not recognize the providerId prop on a DOM element. If you intentionally want it to appear in the DOM...
Read more >
Unknown Prop Warning - React
The unknown-prop warning will fire if you attempt to render a DOM element with a prop that is not recognized by React as...
Read more >
Warning: React does not recognize the `isOpen` prop on a DOM
prop on a DOM element. i got solved this issue. just change tag to Navlink because ActiveClassName is just suported Navlink.
Read more >
Unknown Prop with Framer Motion and React : r/webdev
React does not recognize the `layoutId` prop on a DOM element. If you intentionally want it to appear in the DOM as a...
Read more >
React does not recognize the `HOGE`が出た時の対処法 - Zenn
Warning: React does not recognize the `drawerWidth` prop on a DOM element. If you intentionally want it to appear in the DOM as...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found