Skip to main content

Search and Top Navigation

#8911 closed bug (fixed)

Opened December 14, 2012 02:21PM UTC

Closed April 25, 2013 05:17PM UTC

Last modified April 25, 2013 05:18PM UTC

Autocomplete: Unable to use up and down arrow keys in a textarea or a content editable (Firefox)

Reported by: paftek38 Owned by:
Priority: minor Milestone: 1.10.3
Component: ui.autocomplete Version: 1.9.2
Keywords: Cc:
Blocked by: Blocking:
Description

Setting the autocomplete on either a textarea or a content editable, I cannot use the up and down arrow keys to move the cursor.

Tested with the following versions of Firefox :

  • Firefox 17 Linux
  • Firefox 11 and 17 Win

It works well in the latest Chrome and IE8.

http://jsfiddle.net/9m4FF/1/

Attachments (0)
Change History (7)

Changed December 14, 2012 02:31PM UTC by scottgonzalez comment:1

status: newopen
summary: Unable to use up and down arrow keys in a textarea or a content editable (Firefox)Autocomplete: Unable to use up and down arrow keys in a textarea or a content editable (Firefox)

Changed December 14, 2012 03:29PM UTC by scottgonzalez comment:2

This makes sense, since we're preventing the keypress event. But the code for handling key events is so gross that it's really hard to change. I wish browsers were consistent about key events. Looks like we might need to add a fourth flag to handle all the browser quirks unless we can find some way to clean this up.

Changed January 25, 2013 09:23PM UTC by tj.vantoll comment:3

milestone: 1.10.0none

Changed March 20, 2013 10:49PM UTC by MoonScript comment:4

I believe this should fix it:

https://github.com/jquery/jquery-ui/pull/940

Changed April 25, 2013 05:17PM UTC by Jason Moon comment:5

resolution: → fixed
status: openclosed

Autocomplete: Don't prevent keypress for multiline. Fixed #8911 - Autocomplete: Unable to use up/down arrow keys in a textarea (Firefox).

Changeset: f5f08791536e689e008b04d6ea9677811353d456

Changed April 25, 2013 05:18PM UTC by Jason Moon comment:6

Autocomplete: Don't prevent keypress for multiline. Fixed #8911 - Autocomplete: Unable to use up/down arrow keys in a textarea (Firefox).

(cherry picked from commit f5f08791536e689e008b04d6ea9677811353d456)

Changeset: c1f7f527afeb1bba50a576924b327f812b48ad91

Changed April 25, 2013 05:18PM UTC by scottgonzalez comment:7

milestone: none1.10.3