svelte-grid icon indicating copy to clipboard operation
svelte-grid copied to clipboard

Set grid container height limit/rows

Open BogdanDarius opened this issue 4 years ago • 3 comments

I would like to suggest a feature: adding a containerHeightLimit or specify a maximum number of rows so the grid can have a limited height when moving widgets. I'm happy to work on PR. Would like to get your thoughts on this.

BogdanDarius avatar Nov 12 '20 19:11 BogdanDarius

why not ? but i think the name containerHeightLimit must be e.g. maxRows. the container height is calculated from the farthest grid element + its height.

I think this feature may also be related to "automatic scrolling" (which doesn't exist correctly, this is probably the most missing feature)

vaheqelyan avatar Nov 16 '20 10:11 vaheqelyan

any update on this?

AydanGaite avatar Jul 21 '21 21:07 AydanGaite

Not yet. sorry @ka1to1

vaheqelyan avatar Jul 23 '21 11:07 vaheqelyan

Just created a PR for this: https://github.com/vaheqelyan/svelte-grid/pull/145

Splinteer avatar Jan 22 '23 17:01 Splinteer