You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Performance when using Select to render a large list is slow, so we are using react-virtualized to render all of the items. However, when we are rendering the items with the react-virtualized List, we see this error in our console.
Your Environment 🌎
Tech
Version
Material-UI
v4.7.0
React
v16.12
Browser
Chrome
TypeScript
Yes
The text was updated successfully, but these errors were encountered:
You can track these two issues in #17001 (slow) and #14943 (virtualization blocker).
I would encourage the usage of the native select everywhere possible.
Current Behavior 😯
When there is a component that wraps the options in a
Select
component, a console warning will show saying that an out-of-range value was providedExpected Behavior 🤔
There should not be a console warning
Steps to Reproduce 🕹
Select
component withMenuItem
childrenMenuItem
children with any other component (like a div), or use areact-virtualized
List
to render them.Select
component gets a value from somewhere (i.e initial value), the console warning will appearhttps://codesandbox.io/s/ecstatic-http-w8ukj
Context 🔦
Performance when using Select to render a large list is slow, so we are using react-virtualized to render all of the items. However, when we are rendering the items with the react-virtualized
List
, we see this error in our console.Your Environment 🌎
The text was updated successfully, but these errors were encountered: