angular-grid-layout icon indicating copy to clipboard operation
angular-grid-layout copied to clipboard

Option to add vertical scroll with an external button

Open pau-garrido opened this issue 2 years ago • 1 comments

Hey,

Right now the grid only adds scroll when you add an object on the bottom so it needs to grow. What about an option where the grid doesn't need objects to grow so you can add scroll with a button (for example) and then fill this space with the objects that you want?

Regards,

pau-garrido avatar Jul 11 '22 10:07 pau-garrido

Hey @pau-garrido ,

If I understood well, you want to set the height of the grid yourself manually? Which is your use case? You are using a non vertical compact position? Just for understanding the necessity of this feature, thanks!

llorenspujol avatar Oct 10 '22 07:10 llorenspujol

Hey @llorenspujol thanks for your answer.

Yes, I basically want the grid to occupy all the height I have on the display and also be able to add more height so it creates scroll in there (independently of the objects that I have on the grid). I guess that with an input that sets the height my problem would be solved.

pau-garrido avatar Oct 19 '22 07:10 pau-garrido

In PR #69 it has been added the option to add the height to the grid with an Input, so this issue should be solved. It would be available in the next published version.

llorenspujol avatar Jan 03 '23 11:01 llorenspujol

Thanks!

pau-garrido avatar Jan 04 '23 08:01 pau-garrido