Files
zulip/web/templates/dropdown_list_container.hbs
Vector73 51b47f4233 dropdown_widget: Add sticky_bottom_option element.
Adds `sticky_bottom_option` element to the `dropdown_widget` to
support moving of "Add a new saved snippet" button to the bottom
sticky area of the dropdown for better accessibility and UX.
2025-01-30 09:46:32 -08:00

17 lines
743 B
Handlebars

<div class="dropdown-list-container {{widget_name}}-dropdown-list-container">
<div class="dropdown-list-search popover-filter-input-wrapper">
<input class="dropdown-list-search-input popover-filter-input filter_text_input{{#if hide_search_box}} hide{{/if}}" type="text" placeholder="{{t 'Filter' }}" autofocus/>
</div>
<div class="dropdown-list-wrapper" data-simplebar data-simplebar-tab-index="-1">
<ul class="dropdown-list"></ul>
</div>
<div class="no-dropdown-items dropdown-list-item-common-styles">
{{t 'No matching results'}}
</div>
{{#if sticky_bottom_option}}
<button class="button rounded sticky-bottom-option">
{{sticky_bottom_option}}
</button>
{{/if}}
</div>