gridstack.js icon indicating copy to clipboard operation
gridstack.js copied to clipboard

Nested Grids with float don't automatically add rows on drag

Open bpwalker opened this issue 10 years ago • 3 comments

It seems that currently nested grids do not respect the float property fully. I am able to resize widgets like normal, but I am unable to drag them past the lowest row on the grid, where normally additional rows would be added. This seems to be due to the containment option being set to parent if the grid is nested (https://github.com/troolee/gridstack.js/blob/master/dist/gridstack.js#L1111) but the nested option this.opts.isNested , is always overrode by isNested (https://github.com/troolee/gridstack.js/blob/master/dist/gridstack.js#L557).

I don't know if this is the intended default usecase for nested float grids, but I think either line 557 should not override the user options, or there should be more control over the containment draggable option for nested grids.

bpwalker avatar Jul 15 '16 22:07 bpwalker

Hi, where are we on this issue? I'm also having a problem for the floats of nested grids especially for the last row.

joemorcullo8 avatar Nov 13 '17 13:11 joemorcullo8

Having the same issue. Is there a workaround for this?

mxx-lxg avatar Mar 14 '18 09:03 mxx-lxg

Duplicate of #219

radiolips avatar May 12 '18 22:05 radiolips