Closed thoma202 closed 11 years ago
Yeah this is actually a bug that has a slight workaround. When shapeshift initializes it will search the container for the first child element and then generate a column grid based on that first childs width. The problem is that a container with no children will disallow shapeshift from creating that grid and therefore it crashes.
The workaround is to add the option of colWidth: , where \ is equal to any integer. So your new script would be:
$(".liste").shapeshift({ minColumns: 3, enableCrossDrop: false, dragClone: true, deleteClone: true, colWidth: 100 })
The integer doesn't have to be a specific number, any will do. I will address this problem in version 3.0 which I expect will be done sometime around mid July.
Thanks!
This is now pushed to 3.0 which will be released within the next month.
Hi,
I was wondering if you have to at least insert one div in a container make the shapeshift work ?
I've tried something like that :