React does not recognize the `maxSize` prop on a DOM element
sarimabbas opened this issue · 2 comments
sarimabbas commented
Hi there, I have this React code:
<ReflexContainer orientation="vertical">
<ReflexElement minSize={200} size={250} maxSize={350}>
<Sidebar />
</ReflexElement>
<ReflexSplitter />
...
</ReflexContainer>
Everything works perfectly fine, but in the console, I see the following error:
Warning: React does not recognize the
maxSize
prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercasemaxsize
instead. If you accidentally passed it from a parent component, remove it from the DOM element.
Would you have any recommendations for how to get rid of this warning? Thank you!
leefsmp commented
I am not seeing that warning... could you share a basic reproducible sample and provide more info about react version you are using?
leefsmp commented
Closing due to inactivity, feel free to reopen if you have more details. Thanks