Closed Bug 1969475 Opened 10 months ago Closed 2 months ago

Support dividers in moz-select

Categories

(Toolkit :: UI Widgets, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
149 Branch
Tracking Status
firefox148 + fixed
firefox149 --- fixed

People

(Reporter: mstriemer, Assigned: mkennedy)

References

(Blocks 1 open bug, Regressed 1 open bug)

Details

(Whiteboard: [recomp])

Attachments

(2 files)

In some places there may be groups of items in a select. This can be accomplished by putting an <hr> in a regular select, but currently moz-select does not support copying those over into its inner select instance.

Acceptance criteria:

<moz-select>
  <moz-option label="Item 1"></moz-option>
  <hr>
  <moz-option label="Item 2"></moz-option>
</moz-select>

Renders two items with a divider between them

Assignee: nobody → mkennedy
Pushed by agoloman@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/589ab18cff40 https://hg.mozilla.org/integration/autoland/rev/17f8b152b2ac Revert "Bug 1969475 - Update moz-select to support menu separators for Applications section r=hjones" for causing bc failures @browser_multiselect_tabs_reorder.js.

Backed out for causing bc failures @browser_multiselect_tabs_reorder.js.

Flags: needinfo?(mkennedy)

Relanded because it was not the actual culprit.

Flags: needinfo?(mkennedy)

[Tracking Requested - why for this release]: This is needed to provide the separator between Blocked and the chatbot providers on the chatbot provider dropdown in bug 2005799

Blocks: 2005799
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch
Attachment #9540690 - Flags: approval-mozilla-beta?
Attachment #9540690 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Regressions: 2017385
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: