angular2gridster icon indicating copy to clipboard operation
angular2gridster copied to clipboard

Fixed Container size

Open ChinaeduPascal opened this issue 6 years ago • 5 comments

Hi, with the standard configuration the grid container is always extending itself when dragging the item. Is it possible to define a fixed container size that is not expanding ?

ChinaeduPascal avatar Aug 05 '18 17:08 ChinaeduPascal

Currently, there is no way to set a fixed gridster height. I can consider using this issue as a new feature, but I'm not sure when I will have time to implement it. You can also fork this project and try to provide this feature by your own. If this will work, I will merge it to this project. :)

swiety85 avatar Aug 05 '18 19:08 swiety85

Any update on this? @swiety85

C-odes avatar Dec 28 '18 09:12 C-odes

@swiety85 Currently placing max-height on the gridster container works for me. However, the components can still disappear. So setting a max x and y for all items should do the trick in order to deny them to go any further. (or max height as well if the x it from the upper left corner of the components.)

Update: the components keep getting draggend and drop underneath even with max-height. Only the grid cells are invisible once they go past the fixed height. So I was wrong.

C-odes avatar Jan 07 '19 10:01 C-odes

Im having the same trouble. My components disappear underneath and I have no scroll on the page whatsoever

C-odes avatar Jan 08 '19 12:01 C-odes

any update on this ? . fix container size required!!

prasad1791 avatar Nov 19 '19 12:11 prasad1791