Closed Bug 1866864 Opened 2 years ago Closed 5 months ago

Investigate using the popover attribute/API in our panel-list component

Categories

(Toolkit :: UI Widgets, task)

task

Tracking

()

RESOLVED DUPLICATE of bug 2010864

People

(Reporter: hjones, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [recomp])

The popover attribute is enabled in Nightly as of the landing of Bug 1866666. We have a panel-list custom element that is commonly used for menus and which may present a good use case for the attribute / the associated Popover API.

There are probably a handful of ways in which the panel-list code could be simplified by using popover - for example we likely wouldn't have to explicitly listen for mouse events outside of the panel as this seems to be handled by default: https://searchfox.org/mozilla-central/rev/6eb2ebcafb1b4a8576eb513e6cd2c61e3f3ae6dc/toolkit/content/widgets/panel-list/panel-list.js#380-385

Whiteboard: [fidefe-reusable-components] → [recomp]
Blocks: moz-menu
No longer blocks: reusable-components
Status: NEW → RESOLVED
Closed: 5 months ago
Duplicate of bug: 2010864
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.