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:
parent
0c58d238e8
commit
e12af60579
@ -111,6 +111,7 @@ class NoteSearchBarComponent extends React.Component {
|
|||||||
|
|
||||||
focus() {
|
focus() {
|
||||||
this.refs.searchInput.focus();
|
this.refs.searchInput.focus();
|
||||||
|
this.refs.searchInput.select();
|
||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
|
Loading…
Reference in New Issue
Block a user