Open Bug 1527628 Opened 7 years ago Updated 3 years ago

Autocomplete of removed input steals the focus

Categories

(Core :: DOM: UI Events & Focus Handling, defect, P3)

Unspecified
All
defect

Tracking

()

Tracking Status
firefox65 --- affected
firefox66 --- affected
firefox67 --- affected

People

(Reporter: kontakt, Unassigned)

Details

Attachments

(1 file)

Attached image example.gif

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

Steps to reproduce:

Remove the focused input element from the DOM, select an editable element and try to use arrow keys.

See: https://jsfiddle.net/4uxvnjo5/

Attached gif shows the autocomplete of the removed input element.

Actual results:

Autocomplete from the removed input takes control over the arrow keys.

Expected results:

Arrow keys should work only for the currently selected element.

Hi,

I can reproduce this issue on Windows 10 and Mac OS 10.14 using the latest Firefox Nightly 67, Firefox Beta 66 and Firefox 65.0.1

I'm going to set a component in order to involve the development team in reviewing this issue.

Thank you for reporting!

Status: UNCONFIRMED → NEW
Component: Untriaged → DOM: Core & HTML
Ever confirmed: true
OS: Unspecified → All
Product: Firefox → Core
Version: 65 Branch → Trunk
Component: DOM: Core & HTML → Event Handling
Priority: -- → P3
Component: Event Handling → User events and focus handling
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: