1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

Desktop: Select search text input when focusing it (#4586)

This commit is contained in:
António Ramadas 2021-02-23 11:25:13 +00:00 committed by GitHub
parent 0c58d238e8
commit e12af60579
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,6 +111,7 @@ class NoteSearchBarComponent extends React.Component {
focus() {
this.refs.searchInput.focus();
this.refs.searchInput.select();
}
render() {