angular2gridster icon indicating copy to clipboard operation
angular2gridster copied to clipboard

Directive for item auto-height

Open swiety85 opened this issue 8 years ago • 10 comments

This issue is continuation for #78. Directive will be responsible for adjusting size of parent girdster-item to fit the content. Directive should be optionally assigned to container that is scrollable inside item. If overflow is assigned to .gridster-item-inner, directive should be assigned to girdster-item element. Should be implemented after #98.

swiety85 avatar Nov 21 '17 21:11 swiety85

Hi Swiety, Thank you so much for this amazing library! I am using it for a project and would love to have access to the auto-height functionality. When do you think you will be able to work on it? Thanks!!!

gabyrappaport avatar Jan 29 '18 16:01 gabyrappaport

Hi Swiety, thank you for such wonderful library. your gridster implementation is the first implementation i found this feature on it. good job, any dates when it will be production ready ?

MaiGhoneim avatar May 22 '18 11:05 MaiGhoneim

Hi, I am glad that you like it. I will try to deliver this directive till the end of Juli.

swiety85 avatar May 30 '18 20:05 swiety85

Hi Swiety, Is this directive has been added to the code already or if not, do you think it will be added soon? I need something like this to adapt the gridster item height to the content in tabs.

Thanks a lot

dcotegpg avatar Jan 08 '19 15:01 dcotegpg

Hi @dcotegpg, unfortunately, I can't promise any date of delivering this directive. Till this time I suggest to use the solution suggested in issue #78.

swiety85 avatar Jan 08 '19 19:01 swiety85

Ok I'll try with this solution. Thanks

dcotegpg avatar Jan 08 '19 19:01 dcotegpg

Hi @swiety85, I'm using angular2gridster in creating a dynamic dashboard. I've a right a menu that when toggled open, all gridster-items change their heights and become scrollable. Is this directive supposed to fix that? I'm looking for a way to keep the same height while adjusting the width only. I tried the method in #78 but it didn't work.

HMubaireek avatar Feb 01 '19 07:02 HMubaireek

Hi, in your case I can for now suggest to change widthHeightRatio in the moment of opening the menu to have the widgets higher.

swiety85 avatar Feb 01 '19 08:02 swiety85

Thanks @swiety85 that have got the job done.

HMubaireek avatar Feb 01 '19 08:02 HMubaireek

Hey @swiety85, I am using angular2gridster in a project, and I was wondering if there had been any recent update on this dynamic height to match content issue.

2Code4Days avatar Sep 17 '19 15:09 2Code4Days