react-stonecutter icon indicating copy to clipboard operation
react-stonecutter copied to clipboard

Unknown prop `minPadding`

Open alexmngn opened this issue 9 years ago • 5 comments

I get a warning when I use the Grid component.

This is my code:

<Grid component="ul"
    columns={5}
    columnWidth={150}
    gutterWidth={5}
    gutterHeight={5}
    duration={800}
    easing="ease-out">
        <li key="A">Who controls the British crown?</li>
        <li key="B">Who keeps the metric system down?</li>
        <li key="C">We do!</li>
        <li key="D">We do!</li>
</Grid>

This is what I get in the console:

Warning: Unknown prop minPadding on

    tag. Remove this prop from the element. For details, see https://fb.me/react-unknown-prop in ul (created by ReactTransitionGroup) in ReactTransitionGroup (created by CSSGrid) in CSSGrid (created by Constructor)

alexmngn avatar Jul 28 '16 01:07 alexmngn

Same here!

okbel avatar Jul 28 '16 12:07 okbel

I also get it as well as

Unknown prop minPadding on < ul> tag.

Unknown prop itemHeight on < li> tag.

const Grid = makeResponsive(measureItems(SpringGrid), { maxWidth: 3840, minPadding: 60, defaultColumns: 4 });

It also complains if I try to use the itemRect.height version on my li.

I am using React 15.2.1

jamie-beck avatar Jul 29 '16 04:07 jamie-beck

Seems related to issue #10

And I just want to confirm to you that I am using your latest 0.3.1 release.

jamie-beck avatar Jul 29 '16 17:07 jamie-beck

Hi guys, sorry for the delay, hopefully the new 0.3.2 release will fix these 😄

dantrain avatar Aug 04 '16 14:08 dantrain

@dantrain Still getting Unknown prop minPadding`` on 0.3.3

6-162 avatar Sep 08 '16 13:09 6-162