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 edeede4 commit 4f59f41Copy full SHA for 4f59f41
src/packages/core/components/split-panel/split-panel.element.ts
@@ -238,6 +238,12 @@ export class UmbSplitPanelElement extends LitElement {
238
239
this.#setPosition(toPixels);
240
}
241
+
242
+ if (event.key === 'Home' || event.key === 'End') {
243
+ const { width } = this.mainElement.getBoundingClientRect();
244
+ const newPos = event.key === 'Home' ? 0 : width;
245
+ this.#setPosition(newPos);
246
+ }
247
248
249
render() {
0 commit comments