leefsmp/Re-Flex

React does not recognize the `maxSize` prop on a DOM element

sarimabbas opened this issue · 2 comments

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 lowercase maxsize 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!

I am not seeing that warning... could you share a basic reproducible sample and provide more info about react version you are using?

Closing due to inactivity, feel free to reopen if you have more details. Thanks