Skip to content

Commit 281a630

Browse files
authored
fix: prevent resize divider from interfering with neighboring scrollbars (#75)
1 parent 766a1e7 commit 281a630

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/content/1.getting-started/2.usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ If no primary panel is designated, both panels will resize equally.
6969

7070
::field{name="dividerHitArea" type="string"}
7171
A CSS size to define the hitbox area around the divider slot.
72-
Defaults to `'12px'`
72+
Defaults to `'4px'`
7373
::
7474

7575
::field{name="sizeUnit" type="'%' | 'px'"}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const props = withDefaults(defineProps<SplitPanelProps>(), {
1212
orientation: "horizontal",
1313
disabled: false,
1414
minSize: 0,
15-
dividerHitArea: "12px",
15+
dividerHitArea: "4px",
1616
sizeUnit: "%",
1717
direction: "ltr",
1818
collapsible: false,

0 commit comments

Comments
 (0)