Skip to content

Commit 1c6e509

Browse files
author
s.edelmann
committed
fixing overlapping when responsive is active
1 parent fdf493d commit 1c6e509

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/GridLayout.vue

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -324,13 +324,11 @@
324324
l.h = h;
325325
l.w = w;
326326
327-
if (this.responsive){
328-
this.responsiveGridLayout();
329-
}else{
330-
compact(this.layout, this.verticalCompact);
331-
this.eventBus.$emit("compact");
332-
this.updateHeight();
333-
}
327+
if (this.responsive) this.responsiveGridLayout();
328+
329+
compact(this.layout, this.verticalCompact);
330+
this.eventBus.$emit("compact");
331+
this.updateHeight();
334332
335333
if (eventName === 'resizeend') this.$emit('layout-updated', this.layout);
336334
},

0 commit comments

Comments
 (0)