Closed
Bug 212487
Opened 21 years ago
Closed 21 years ago
Form autocomplete is one character behind typed text
Categories
(Firefox :: Address Bar, defect)
Firefox
Address Bar
Tracking
()
VERIFIED
FIXED
People
(Reporter: bryner, Assigned: bryner)
References
Details
Attachments
(1 file)
(deleted),
patch
|
hewitt
:
review+
|
Details | Diff | Splinter Review |
If you start typing into a form field, autocomplete filtering will be one
character behind what you've typed.
For example, suppose you have the following autocomplete possibilities for a
form field:
camp
cell
center
Autocomplete will not appear when you just type 'c'. If you enter 'ce', all 3
possibilities will be shown. If you type 'cel', "cell" and "center" will be shown.
Assignee | ||
Comment 1•21 years ago
|
||
Use the "input" event for notifying the AutoCompleteController to update the
autocomplete list. Using keydown is pretty fragile since you're depending on
your event firing after editor's keydown listener. I think input will also
correctly account for pasting into the input field.
Assignee | ||
Updated•21 years ago
|
Attachment #127605 -
Flags: review?(hewitt)
Comment 2•21 years ago
|
||
Comment on attachment 127605 [details] [diff] [review]
patch
r=hewitt
Attachment #127605 -
Flags: review?(hewitt) → review+
Assignee | ||
Comment 3•21 years ago
|
||
checked in.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Comment 4•21 years ago
|
||
Please see my comment #2 in bug #175597 and consider whether this patch might be
related.
Comment 5•21 years ago
|
||
Amending comment #4: The problem I'm encountering has been reported in bug #212686.
Comment 6•21 years ago
|
||
*** Bug 202758 has been marked as a duplicate of this bug. ***
You need to log in
before you can comment on or make changes to this bug.
Description
•