Closed Bug 2078840 Opened 1 month ago Closed 1 month ago

MozBoxItem overrides focus() with a new signature

Categories

(Toolkit :: UI Widgets, task, P3)

task

Tracking

()

RESOLVED FIXED
159 Branch
Tracking Status
firefox159 --- fixed

People

(Reporter: mstriemer, Assigned: mstriemer)

References

Details

(Whiteboard: [recomp])

Attachments

(1 external file)

While implementing bug 2078801 I noticed the MozBoxItem overrides the focus() method to take an event. This started showing up as TypeScript errors. Rather than override that method we should create a new method to handle this special case for use in MozBoxGroup

This keeps focus() compatible with HTMLElement.focus(options), which the
HTMLElementTagNameMap types require.

Assignee: nobody → mstriemer
Status: NEW → ASSIGNED
Pushed by mstriemer@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/874be38ec8f4 https://hg.mozilla.org/integration/autoland/rev/c29fc0046453 Move moz-box-item arrow key focus handling out of focus() r=reusable-components-reviewers,hjones
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 159 Branch
QA Whiteboard: [qa-triage-done-c160/b159]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: