web/elements: make ak-search-select limited in height and scroll
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
90c89aec76
commit
8a1b6693a7
|
@ -149,7 +149,11 @@ export class SearchSelect<T> extends AKElement {
|
|||
style="position: fixed; inset: 0px auto auto 0px; z-index: 9999; transform: translate(${pos.x}px, ${pos.y +
|
||||
this.offsetHeight}px); width: ${pos.width}px;"
|
||||
>
|
||||
<ul class="pf-c-dropdown__menu pf-m-static" role="listbox">
|
||||
<ul
|
||||
class="pf-c-dropdown__menu pf-m-static"
|
||||
role="listbox"
|
||||
style="max-height:50vh;overflow-y:auto;"
|
||||
>
|
||||
${this.blankable
|
||||
? html`
|
||||
<li>
|
||||
|
|
Reference in a new issue