diff --git a/src/DragGrid.vue b/src/DragGrid.vue index 5d6e73b47927e0e076eb2604d86ced51cd922746..49bba443ca14a52e17969e06ffe7792a7d37c47e 100644 --- a/src/DragGrid.vue +++ b/src/DragGrid.vue @@ -311,6 +311,13 @@ export default { items() { if (!this.multipleItemsY) return this.value; + if (this.value.some((item) => item.w > 1)) { + console.warn( + "You are using multipleItemsY but some items have a width greater than 1.", + "This is not supported and will lead to unexpected behaviour." + ); + } + // calculate numSiblings for each field // First dimension: the columns let xSiblings = [];