Skip to content

Commit 8ce57d0

Browse files
authored
fix: when window resize trigger resizeEventHandler, placeholder shouldn't hide (#49)
1 parent 1e21ff4 commit 8ce57d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/grid-layout.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ function resizeEvent(
431431
})
432432
// this.$broadcast("updateWidth", this.width);
433433
emitter.emit('updateWidth', state.width)
434-
} else {
434+
} else if (eventName) {
435435
nextTick(() => {
436436
state.isDragging = false
437437
})

0 commit comments

Comments
 (0)