ducksboard / gridster.js

gridster.js is a jQuery plugin that makes building intuitive draggable layouts from elements spanning multiple columns
http://gridster.net/
MIT License
6.03k stars 1.2k forks source link

Nested gridster's preview holder has wrong size #350

Open yogeshmangaj opened 10 years ago

yogeshmangaj commented 10 years ago

In this fiddle (http://jsfiddle.net/YS4Ce/) if you try to drag around the smaller elements in the smaller grid inside the "0" element of the bigger outer grid, you will notice that the placeholder's size has the base dimensions of that of the outer grid instead of the inner grid.

yogeshmangaj commented 10 years ago

Figured out why, changing the configuration helps (see http://stackoverflow.com/questions/22937933/nested-gridster/22940579#22940579) for complete details.