Google Blogoscoped

Monday, March 24, 2008

Google Adjusts Search Box for Longer Queries

Google recently started to automatically adjust the search box when you enter longer queries. This won’t happen as you type, but once you’re on a search result page and you entered a longer query before, the box length is expanded up to a certain point*.

Dealing with user input in such ways seems to be a good pattern. For instance, when you enter a longer comment in the originally one-row input box over at, it will instantly expand to a multi-row textarea.

*Note that in any case, Google only looks at up to 32 words of your query (though you can cheat a bit by using the asterisk character in phrase searches).


Blog  |  Forum     more >> Archive | Feed | Google's blogs | About


This site unofficially covers Google™ and more with some rights reserved. Join our forum!