From e12af60579a488150f3cd4d0f80de3734719f1e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ant=C3=B3nio=20Ramadas?= Date: Tue, 23 Feb 2021 11:25:13 +0000 Subject: [PATCH] Desktop: Select search text input when focusing it (#4586) --- packages/app-desktop/gui/NoteSearchBar.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/app-desktop/gui/NoteSearchBar.jsx b/packages/app-desktop/gui/NoteSearchBar.jsx index a4a91d54b..ca247fb5e 100644 --- a/packages/app-desktop/gui/NoteSearchBar.jsx +++ b/packages/app-desktop/gui/NoteSearchBar.jsx @@ -111,6 +111,7 @@ class NoteSearchBarComponent extends React.Component { focus() { this.refs.searchInput.focus(); + this.refs.searchInput.select(); } render() {