Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#8911 closed bug (fixed)

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/

Change History (7)

comment:1 Changed 5 years ago by Scott González

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)

comment:2 Changed 5 years ago by Scott González

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.

comment:3 Changed 5 years ago by tj.vantoll

Milestone: 1.10.0none

comment:4 Changed 5 years ago by MoonScript

I believe this should fix it: https://github.com/jquery/jquery-ui/pull/940

comment:5 Changed 4 years ago by Jason Moon

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

comment:6 Changed 4 years ago by Jason Moon

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

comment:7 Changed 4 years ago by Scott González

Milestone: none1.10.3
Note: See TracTickets for help on using tickets.