Add ability to expand moz-card accordion by default
Categories
(Toolkit :: UI Widgets, enhancement, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox130 | --- | fixed |
People
(Reporter: jsudiaman, Assigned: tgiles)
References
(Blocks 1 open bug)
Details
(Whiteboard: [recomp])
Attachments
(1 file)
Current behavior of <moz-card type="accordion">:
The "accordion" type will initially not show any content. The card will contain an arrow to expand the card so that all of the content is visible.
It may be useful to have content that is collapsible, but with the card initially expanded and showing content to begin with. I noticed there is an expanded property, but it doesn't appear to be utilized.
Comment 1•1 year ago
|
||
Once we have this capability we'll want it added to the history and synced tabs in the sidebar so that the first two cards are open by default.
| Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 2•1 year ago
|
||
This change allows a developer to use the "expanded" attribute to force
an accordion card to be open on initial render. Additionally, one can
listen and check the "expanded" attribute to be sure of the card's
inner state.
Comment 4•1 year ago
|
||
| bugherder | ||
Description
•