vue-grid-layout
vue-grid-layout copied to clipboard
Can i resize GridItem only from X or Y
I want to reset the size only from the X axis or the Y axis.
This would be great if we can do this. I also need this.
is this on the roadmap? my case i need user can only resize the grid only for x axis
It's not on the roadmap. Feel free to submit a PR
Since this issue is similar to #76 and #316, I'll take a stab at addressing all 3.
It should mostly be a matter of exposing properties to configure the resize options for interactjs. https://github.com/jbaysolutions/vue-grid-layout/blob/9e13ea946bf226eb3303e99cfa195c79c8d3055c/src/components/GridItem.vue#L713
@Watercycle , can you submit a PR?
Yes. I'm aiming to have one up within the next week.
Update (5/9/19): Not sure how to handle moving the grid item when the placeholder position gets changed by a layout recalculation.
Update (5/18/19): Everything seems to be working, but I still need to thoroughly test, expose it to the public API, document, and clean up commits for review. Apologies for taking so long. Every time something doesn't work I just set this aside for a few days 😅
Hi, is there any update on this or has it been abandoned? Even dirty commits or something halfway working would be helpful in case someone else is able to complete it
Hi, is there any update on this or has it been abandoned?