We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fe275a commit 73650d3Copy full SHA for 73650d3
src/SplitPanel.vue
@@ -214,6 +214,10 @@ const handleKeydown = (event: KeyboardEvent) => {
214
newPosition = props.primary === 'end' ? 0 : 100;
215
}
216
217
+ if (event.key === 'Enter' && props.collapsible) {
218
+ collapsed.value = !collapsed.value;
219
+ }
220
+
221
sizePercentage.value = clamp(newPosition, 0, 100);
222
223
};
0 commit comments