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.

Unknown prop type (Latest React version issue)

See original GitHub issue

I 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:closed
  • Created 7 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
bvaughncommented, Aug 3, 2016

Haha, no problem! I was just patting myself on the back for the unusually fast turn-around time on this one 😉 😜 lol

0reactions
bvaughncommented, Aug 3, 2016

Great! Glad to hear. 😃

Read more comments on GitHub >

github_iconTop 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 >

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