[Desktop] Desktop search box refocus should select or clear input

Often, when I'm using the desktop client, I search for a song/album/playlist to play, start it, and go back to whatever I was doing. When I come back to search for a new thing, I click on the search box, and it always catches me off guard how it never selects all the information so that I can start typing a new song without deleting all information. That selection on focus is how most web browsers + mobile inputs do it iirc. This new behavior could trigger, for instance, after something in the search view is pressed to play until another piece of media is 'played', or even just every time the search box is unfocused. The idea for the latter is I don't think users often append to their query if they don't find anything. Thanks!

 

pseudocode (:P):

useEffect(() => {searchBox.current.select()}, [currentSong])

 

Updated on 2021-09-10

Hey @aiddun 

Your Idea has been submitted a while ago, and unfortunately hasn't gathered enough votes (50 votes within 3 months) to keep it active in the Exchange. Be sure to know that this does not mean that your Idea has been declined by Spotify.

Don't worry, your Idea will still be able to gain more votes, and may get a Live Idea status if it receives enough of them.

For more info on how the Ideas Board works, click here. 🙂

Comments
Mihail
Moderator
Moderator
Status changed to: New Suggestion

Updated on 2021-07-28

Hello and thanks for submitting your idea to the Idea Exchange!

 

We've gone ahead and marked this as a new suggestion. Spotify Staff will look into this idea once it reaches the necessary amount of votes.

 

More info on how your feedback reaches Spotify via the Idea Exchange can be found here.

 

Cheers!

osornios
Rock Star 24
Rock Star 24
Status changed to: Closed - Not Enough Votes

Updated on 2021-09-10

Hey @aiddun 

Your Idea has been submitted a while ago, and unfortunately hasn't gathered enough votes (50 votes within 3 months) to keep it active in the Exchange. Be sure to know that this does not mean that your Idea has been declined by Spotify.

Don't worry, your Idea will still be able to gain more votes, and may get a Live Idea status if it receives enough of them.

For more info on how the Ideas Board works, click here. 🙂