-
Notifications
You must be signed in to change notification settings - Fork 15
Description
I keep getting an error Uncaught TypeError: this.cellHeight is not a function
this appears to be the window object. The compiled code returns GridStack = function(el, opts) I think here el is appearing as the opts as its passing the cellHeight and vertical here and not on opts.
I'm not sure if this is my implementation of it. GridStack was not defined if I included it as the original example import {GridStack, GridStackItem} from 'react-gridstack'; I have instead separated this into two imports and GridStack is defined.
I have also had problems with the example to which I have had to wrap the <GridStack> output in a return function.
I'm not sure where exactly I'm going wrong, I've tried various things to dance around its implementation but to no avail. Do you have a live example or anything to follow?