GriddleGriddle / Griddle

Simple Grid Component written in React
http://griddlegriddle.github.io/Griddle/
MIT License
2.5k stars 378 forks source link

Cannot read property 'onSort' of undefined #812

Closed bsalex closed 6 years ago

bsalex commented 6 years ago

Griddle version

1.13.0

Expected Behavior

It renders without errors

Actual Behavior

Cannot read property 'onSort' of undefined error

Steps to reproduce

Just try to use Griddle without the local plugin.
https://codesandbox.io/s/zk67w0x2p

Pull request with failing test or storybook story with issue

While this step is not necessary, a failing test(s) and/or a storybook story will help us resolve the issue much more easily. Please see the README for more information.

The example works for version 1.12.0, but not for 1.13.0

dahlbyk commented 6 years ago

This seems related to #749, and I can reproduce with the controlled griddle component Story. I'll let you know what I find.

Thanks for the bug report!

dahlbyk commented 6 years ago

1.13.1 has been released: npm i griddle-react@next.