---
title: "Discussion on \"Keyboard Controls for Autocomplete\" | Hashnode"
description: "Discussion on \"Keyboard Controls for Autocomplete\". Use OnKeyDown to listen for arrow keys, not OnKeyPress!"
url: "https://hashnode.com/posts/keyboard-controls-for-autocomplete/6070136ed741af6659cfa3a1"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Keyboard Controls for Autocomplete](https://tobias-sample.co.uk/keyboard-controls-for-autocomplete?utm_source=hashnode&utm_medium=feed)

Use OnKeyDown to listen for arrow keys, not OnKeyPress!

Apr 9, 2021 · 1 min read · tobias-sample.co.uk  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)

## Written by

[Tobias S](https://hashnode.com/@bruceji7)

@bruceji7 · Seoul, South Korea

  
[View profile](https://hashnode.com/@bruceji7)

Front-End Developer in Seoul

I'm a Front End Developer in Korea. I work for a company called Lunit, that develops AI software to diagnose cancer. From the UK, I came to Korea as an English teacher, and managed to retrain myself, and break out into the programming industry 😎

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
