Skip to content
This repository was archived by the owner on Oct 1, 2021. It is now read-only.

Commit 240cb2f

Browse files
authored
refactor: improve rich-select component (#648)
1 parent f066f4d commit 240cb2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/views/inputs/rich-select.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class="relative input-rich-select {{ $wrapperClass }}"
4747
aria-haspopup="listbox"
4848
:aria-expanded="open"
4949
aria-labelledby="listbox-label"
50-
class="relative pr-10 dropdown-button {{ $buttonClass }}"
50+
class="relative mr-10 dropdown-button focus-visible:rounded {{ $buttonClass }}"
5151
>
5252
@isset($dropdownEntry)
5353
{{ $dropdownEntry }}
@@ -87,10 +87,10 @@ class="absolute w-full min-w-max-content z-10 dropdown {{ $dropdownClass }}"
8787
@keydown.arrow-up.prevent="onArrowUp()"
8888
@keydown.arrow-down.prevent="onArrowDown()"
8989
x-ref="listbox"
90-
tabindex="-1"
9190
role="listbox"
9291
aria-labelledby="listbox-label"
9392
class="custom-scroll py-3 overflow-auto bg-white rounded-md outline-none dark:bg-theme-secondary-800 shadow-lg dark:text-theme-secondary-200 hover:outline-none {{ $dropdownListClass }}"
93+
tabindex="-1"
9494
>
9595
@isset($dropdownList)
9696
{{ $dropdownList }}

0 commit comments

Comments
 (0)