From e67547ac44b51b99bb5118561970dfa438c617ce Mon Sep 17 00:00:00 2001 From: jparez Date: Fri, 14 Jun 2024 11:32:43 +0200 Subject: [PATCH] [enhanced] focus on clipboardinput when open dialog --- src/plugins/Clipboard.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/Clipboard.js b/src/plugins/Clipboard.js index 4105f36..00d7298 100644 --- a/src/plugins/Clipboard.js +++ b/src/plugins/Clipboard.js @@ -117,6 +117,8 @@ module.exports = class Clipboard extends OverlayPlugin { super.toggleWidget(); if (this.instance.store.getters.isWidgetOpened(this.overlayID)) { this.clipboardInput.value = this.clipboard; + // put focus on the input field + this.clipboardInput.focus(); } }