Closed Bug 1631150 Opened 6 years ago Closed 6 years ago

mAutoFocusFired should be set when it's actually fired

Categories

(Core :: DOM: UI Events & Focus Handling, enhancement)

enhancement

Tracking

()

RESOLVED INVALID

People

(Reporter: sefeng211, Assigned: sefeng211)

References

Details

Attachments

(1 obsolete file)

The current approach is fine because there's only one place that we can dispatch an autofocus event, and we have some guards here to prevent it from dispatching twice, which is good.

The problem is once we added a dialog focusing steps for dialog element, it's possible that the autofocus event gets executed by dialog element, then a autofocus event may gets fired twice.

The current approach is fine because there's only one place
that we can dispatch an autofocus event, and we have some guards
here to prevent it from dispatching twice, which is good.

The problem is once we added a dialog focusing steps for dialog
element, it's possible that the autofocus event gets executed
by dialog element, then a autofocus event may gets fired twice.

So let's check again before it's actually fired.

Attachment #9141445 - Attachment is obsolete: true

Going to the changes along with bug 1324958

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Resolution: FIXED → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: