Skip to content
This repository was archived by the owner on Oct 9, 2026. It is now read-only.
This repository was archived by the owner on Oct 9, 2026. It is now read-only.

Warning: Unknown prop xsOffset on <div> tag. #5

Open

Description

@ckuijjer

Using the last version 0.7.0 of react-flexgrid shows the following warnings in the console.

Warning: Unknown prop `xsOffset` on <div> tag. Remove this prop from the element. For details, see https://fb.me/react-unknown-prop
    in div (created by Col)
    in Col (created by WhatsYourType)
    in div (created by Row)
    in Row (created by WhatsYourType)
    in div (created by Grid)
    in Grid (created by WhatsYourType)

This already seems solved in https://github.com/nkt/react-flexgrid/blob/master/src/Col.js#L45 . However I don't see the passingProps in the Col.js installed by npm. Probably it can be solved by bumping the version and publishing it.

Activity

  1. caiokf-zenefits commented on Sep 30, 2016

    @caiokf-zenefits

    I am seeing the same issue with other Col props, xs, md and so on

  2. nkt commented on Oct 1, 2016

    @nkt
    Owner

    Sorry for so long delay. I've published new release

  3. caiokf-zenefits commented on Oct 1, 2016

    @caiokf-zenefits

    Thank you. I updated to 0.8.0, but I am still seeing:

    warning.js:39 Warning: Unknown props `xs`, `md` on <div> tag. Remove these props from the element. For details, see https://fb.me/react-unknown-prop
        in div (created by Col)
        in Col (created by ResourceList)
        in div (created by Row)
        in Row (created by ResourceList)
    

    My code looks like:

    <Grid>
      <Row>
        <Col xs={1} md={4}>
          ...
        </Col>
      </Row>
    </Grid>
    

    I can provide other details if needed.

  4. ckuijjer commented on Oct 1, 2016

    @ckuijjer
    Author

    It's fixed for me in 0.8.0, thanks for the update! 🎉

    P.S. @caiokf-zenefits In my case I initially also thought it wasn't solved. Restarting the dev server / webpack solved it for me.

  5. caiokf-zenefits commented on Oct 2, 2016

    @caiokf-zenefits

    Aha! Sorry i missed that. It fixed for me too. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions