Closed
Bug 1091954
Opened 10 years ago
Closed 1 year ago
autocomplete suggestions stick around after corresponding input is removed
Categories
(Toolkit :: Form Manager, defect)
Tracking
()
RESOLVED
FIXED
117 Branch
Tracking | Status | |
---|---|---|
firefox117 | --- | fixed |
People
(Reporter: hello, Assigned: serg)
References
Details
(Keywords: testcase, Whiteboard: [fxcm-debt])
Attachments
(2 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:32.0) Gecko/20100101 Firefox/32.0
Build ID: 20140923175406
Steps to reproduce:
* have an input on a page
* fill that input out with some value, and submit the form (so there's an autocomplete suggestion available next time)
* refresh the page, or visit it fresh, etc.
* start filling out the input with the same value as before, so the autocomplete suggestion pops up
* cause the input to be removed (when I came across this, I had an event handler for the escape key) (I used jQuery's .remove(), which appears to be equivalent to myParent.removeChild(this)).
I've attached a short HTML file where you can see the problem. It uses an input named "email" so you can probably get autocompletion if you start typing your email address. The element is deleted if you hit escape.
Actual results:
the autocomplete suggestion box continues to exist. Sometimes I've seen it jump to the bottom of the window, but usually it's right where the input used to be
Expected results:
The autocomplete suggestion box should vanish.
The autocomplete tooltip disappears only if the user clicks on the page after removing the input by pressing ESC.
In rare cases, I saw the tooltip moving to the bottom of the browser window too.
Comment 2•10 years ago
|
||
This was wontfixed for Firefox for Android. Unlike bug 713027 comment #1, I do think it's fixable, using a mutation observer... but I'm not sure that implementing that is worth the effort.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: firefox-backlog+
Updated•10 years ago
|
Flags: firefox-backlog+ → firefox-backlog?
Updated•10 years ago
|
Flags: firefox-backlog? → firefox-backlog+
Updated•7 years ago
|
Component: Autocomplete → Form Manager
Updated•2 years ago
|
Severity: normal → S3
Assignee | ||
Comment 3•1 year ago
|
||
Autocomplete disappears when element is removed, however pressing Down key right after that opens autocomplete again on the element that is not connected to the document.
Whiteboard: [fxcm-debt]
Updated•1 year ago
|
Assignee | ||
Comment 4•1 year ago
|
||
Updated•1 year ago
|
Assignee: nobody → sgalich
Status: NEW → ASSIGNED
Pushed by sgalich@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d9c072524f41
showing autocomplete on connected elements only r=credential-management-reviewers,issammani,dimi
Comment 6•1 year ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox117:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
Updated•1 year ago
|
QA Whiteboard: [qa-117b-p2]
You need to log in
before you can comment on or make changes to this bug.
Description
•