Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown prop minPadding #14

Open
alexmngn opened this issue Jul 28, 2016 · 5 comments
Open

Unknown prop minPadding #14

alexmngn opened this issue Jul 28, 2016 · 5 comments

Comments

@alexmngn
Copy link

alexmngn commented Jul 28, 2016

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
Copy link

okbel commented Jul 28, 2016

Same here!

@jamie-beck
Copy link

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
Copy link

Seems related to issue #10

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

@dantrain
Copy link
Owner

dantrain commented Aug 4, 2016

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

@dantrain dantrain closed this as completed Aug 4, 2016
@6-162
Copy link

6-162 commented Sep 8, 2016

@dantrain Still getting Unknown prop minPadding`` on 0.3.3

@dantrain dantrain reopened this Sep 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants