Re:Breaking down Amazon's mega dropdown
by spullara on Wednesday March 06, 2013 @07:08PM
(#5334988)
It seems like it would be easy to capture 'space' and arrows keys in the textfield and do the right thing. Anyone seen someone do that?
[ Parent
| on HN ]
Re:Breaking down Amazon's mega dropdown
by MichaelApproved on Wednesday March 06, 2013 @07:31PM
(#5335079)
You wouldn't want to capture the space key because you'll need that in search queries but the arrow keys sound like an idea for those interested in accommodating both cases.
Re:Breaking down Amazon's mega dropdown
by salvadors on Wednesday March 06, 2013 @07:43PM
(#5335139)
You pretty much never want a space at the start of your search query though, so you could DTRT based on whether there's preceding text there or not.
Re:Breaking down Amazon's mega dropdown
by MichaelApproved on Thursday March 07, 2013 @03:34AM
(#5336735)
Good point but I think it's now coming to a point where confusion might come into play. It's a balance between inconveniencing someone with auto focus and confusing someone else.