Skip to content

Commit 8fa1644

Browse files
committed
fix: keep showing resize cursor on drag past div
1 parent 27cb5a5 commit 8fa1644

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

packages/vue-split-panel/src/SplitPanel.vue

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,11 +347,19 @@ defineExpose({ collapse, expand, toggle });
347347
&.horizontal {
348348
transition-property: grid-template-columns;
349349
grid-template-columns: v-bind(gridTemplate);
350+
351+
&.dragging {
352+
cursor: ew-resize;
353+
}
350354
}
351355
352356
&.vertical {
353357
grid-template-rows: v-bind(gridTemplate);
354358
transition-property: grid-template-rows;
359+
360+
&.dragging {
361+
cursor: ns-resize;
362+
}
355363
}
356364
357365
&.dragging {

0 commit comments

Comments
 (0)