Closed Bug 212487 Opened 21 years ago Closed 21 years ago

Form autocomplete is one character behind typed text

Categories

(Firefox :: Address Bar, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: bryner, Assigned: bryner)

References

Details

Attachments

(1 file)

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.
Attached patch patch (deleted) — Splinter Review
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.
Attachment #127605 - Flags: review?(hewitt)
Comment on attachment 127605 [details] [diff] [review] patch r=hewitt
Attachment #127605 - Flags: review?(hewitt) → review+
checked in.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Please see my comment #2 in bug #175597 and consider whether this patch might be related.
Amending comment #4: The problem I'm encountering has been reported in bug #212686.
*** Bug 202758 has been marked as a duplicate of this bug. ***
verified with 20030721 build on W2K
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: