diff --git a/app/views/WidgetWithGrid.vue b/app/views/WidgetWithGrid.vue index fb65023..3de3789 100644 --- a/app/views/WidgetWithGrid.vue +++ b/app/views/WidgetWithGrid.vue @@ -5,7 +5,8 @@ :margin="[15, 15]" :is-static="isStatic" @layout-updated="onLayoutUpdated" - @move="onMove" + @moved="onMove" + @resized="onResize" >
diff --git a/src/packages/SmartWidget.vue b/src/packages/SmartWidget.vue index e6cf9bc..e11e0b0 100644 --- a/src/packages/SmartWidget.vue +++ b/src/packages/SmartWidget.vue @@ -302,6 +302,7 @@ export default { // overwirte vue-grid-layout styles .vue-grid-item { touch-action: none; + box-sizing: border-box; } .vue-grid-item.vue-grid-placeholder { background: #7CBEFF; diff --git a/src/packages/SmartWidgetGrid.vue b/src/packages/SmartWidgetGrid.vue index eaca019..ac52dd5 100644 --- a/src/packages/SmartWidgetGrid.vue +++ b/src/packages/SmartWidgetGrid.vue @@ -19,7 +19,7 @@