dantrain / react-stonecutter

Animated grid layout component for React
http://dantrain.github.io/react-stonecutter
MIT License
1.21k stars 72 forks source link

Unknown prop `minPadding` #14

Open alexmngn opened 8 years ago

alexmngn commented 8 years ago

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)

okbel commented 8 years ago

Same here!

jamie-beck commented 8 years ago

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 commented 8 years ago

Seems related to issue #10

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

dantrain commented 8 years ago

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

6-162 commented 7 years ago

@dantrain Still getting Unknown propminPadding`` on 0.3.3