sort-popover
Sort options in a popover; the trigger shows the current sort (the site's text until the visitor sorts), a pick closes it.
Where it can go
- Inside
smootify-search-discovery. - Must contain
form,[popover] :is(a, button:not([popovertarget])). - Out of place, Smootify removes it from the page: data-expand panels count as inside.
What it requires
Nothing beyond Smootify: it works on every plan.
Attributes on the element
- It reads
selected-value.
Loading
Its code loads only on pages that have sort-popover.