Unknown prop type (Latest React version issue)
See original GitHub issueI believe this issue is stemming from react-virtualized. If it isn’t please disregard.
I’m getting warnings in the console due to the fact that (I think) the Autosizer component you have uses non-standard proptypes (specifically, minWidth
). React did away with this in the latest update.
Here’s the full warning:
warning.js?8a56:44 Warning: Unknown prop `minWidth` on <input> tag. Remove this prop from the element. For details, see https://fb.me/react-unknown-prop
in input (created by AutosizeInput)
in div (created by AutosizeInput)
in AutosizeInput (created by Select)
in div (created by Select)
in div (created by Select)
in Select (created by VirtualizedSelect)
in VirtualizedSelect (created by Menu)
in div (created by Menu)
in div (created by Menu)
in div (created by Menu)
in Menu (created by ReferenceList)
in ReactCSSTransitionGroupChild (created by ReactTransitionGroup)
Thanks for your work on this! 👍
Edit: I suppose it should be noted that I’m using react-virtualized indirectly through react-virtualized-select
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
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 >Bug: React 18 types broken since the type release a ... - GitHub
A few hours ago, a major version of React types for Typescript was released. I have tried to test this right away to...
Read more >React/React Hooks: Unknown prop type error on input, can't ...
This error is because styled-components passes through all props for custom react-components. See the documentation here: ...
Read more >react-error-boundary - npm
This is a render-prop based API that allows you to inline your error fallback UI into the component that's using the ErrorBoundary ....
Read more >How to validate React props using PropTypes - LogRocket Blog
Learn how to validate props with React PropTypes, React's internal ... Editor's note: This article was last updated 17 August 2022 to verify ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Haha, no problem! I was just patting myself on the back for the unusually fast turn-around time on this one 😉 😜 lol
Great! Glad to hear. 😃